html neck tag
Do we need a neck tag in html?
The neck tag doesn't exists in html but if it did I have a use case for it.
Dave Smart made a suggestion on Mastodon:
<head>, <body> but no <neck>?
Where do I put the <meta name="trachea" > tag.
Madness.
I thought about this for a while and realised that there is a use case. Sometimes scripts in a head tag can break the head. If you have an advertising tag, your advertising team might inadvertently add a tag, such as iframe, that is only mean to be used in the body - and the way Google, and other crawlers, interpret the head mean that they stop reading head tags as soon as they come across a body tag. The assumption is that perhaps the body tag was missed and that is fair as the only tag that is actually required to be used in html is the title tag. This means that any head tags after the script are ignored. The best practice is to put all scripts last in the head but if we had a neck tag they could go in there.
Just a thought.
Next short: Alternative to Google Analytics
Previous short: Railway Modellers Club site