Closing an <input > tag

What is the current thinking on closing tags. The documentation
I can find doesn’t mention needing a . When closing tags
started to be needed it sounded as though the requirement was strict.
Now the documentation says that even more closing tags can be omitted
than before XHTML raised its head.

I have always omitted tags, and the Safari Element Inspector
indicates that the browser has provided “Shadow Content” and an
tag. This still appears if I use <input . . . /> so Safari
doesn’t take that as an alternative.

I’m still trying to sort out my ‘onchange=“submit()”’ problem.
It could be that some loose syntax is making the browser lose context
and causing the “Uncaught TypeError: submit is not a function” error
in Epic.

David


offtopic mailing list
email@hidden
Update your subscriptions at:

<input type="text" />

Todd

QREATiv https://qreativ.space Community Project

What is the current thinking on closing tags.


offtopic mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

On 28 Oct 2017, at 19:20, Todd wrote:

<input type="text" />

Todd

QREATiv https://qreativ.space Community Project

What is the current thinking on closing tags.

Thanks Todd. Safari still claims to be adding its own shadow content and
closing tag, but if the trailing ‘/‘ format is what people are using
I’ll go with that.

David


offtopic mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

The trailing slash is not required, at least not in HTML5. I often write
it with the slash purely out of habit (which I’m trying to break) but I
often see it written without.

Besides, I noticed that Safari strips it out in the Web Inspector.

Todd

QREATiv https://qreativ.space Community Project

David Ledger wrote:

On 28 Oct 2017, at 19:20, Todd wrote:

<input type="text" />

Todd

QREATiv https://qreativ.space Community Project

What is the current thinking on closing tags.

Thanks Todd. Safari still claims to be adding its own shadow content
and closing tag, but if the trailing ‘/‘ format is what people are
using I’ll go with that.

David


offtopic mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


offtopic mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options