Live data from Hacker News

HEAD – A guide to elements

htmlhead.dev

91–100 of 129 posts

Re: HEAD – A guide to <head> elements

#91
post #14

Does anybody remember that funny thread where some dev here was saying "who calls it HTML5 anymore" as if everyone else was out of touch with stagnating irrelevant skills that would immediately throw red flags during a phone screen? It just gave me a chuckle thinking about it Thanks for the guide!

Uh... what do people call "it" now-a-days? Serious

I think people understood my comment neither correctly, and ,it seems, nor in the same way? Anyways, what I was asking was whether there exists a new name for html5? Have people dropped the 5? Comically, it was always a vague, tattered umbrella term from the get go (whenever used to refer to anything else than HTML5 the language/spec).

Re: HEAD – A guide to <head> elements

#94

Surprised all icons is only: I thought there was literally like a dozen different sizes and names to support all different Apple and Android devices.

You don’t even need those. Safari will automatically look for a file on the root and so does Android. Still, I know what you’re talking about and it’s awful how many “gurus” suggest all that noise.

Yes. See this comprehensive resource [0] or sieve trough those linked at the Head project [1] - there are still bunch of tags (especially if you cannot place images into the root path) and myriad of images with varying degree of importance. Even now most resources apparently slightly disagrees with each other.

[0] https://realfavicongenerator.net/faq [1] https://htmlhead.dev/#icons

Re: HEAD – A guide to <head> elements

#95

> Completely opt out of DNS prefetching by setting to "off" Why is this included in these guidelines? EDIT: See reply. Thanks!

Express Helmet also turns it off by default and included a rationale for why (tldr: privacy leaks when there are random external links posted on a page): https://helmetjs.github.io/docs/dns-prefetch-control/

Re: HEAD – A guide to <head> elements

#96
post #20

Please no. IMO this makes most pages unusable on mobile. Most websites, e.g. news websites with long-form articles, shouldn't be using mobile pages / responsive design / zoomed-in layout at all. Web apps (Twitter, GMail), maybe. But most mobile pages are far more unusable than desktop versions (looking at you, Facebook and Reddit).

> news websites with long-form articles, shouldn't be using mobile pages / responsive design / zoomed-in layout at all Do you mean you actually prefer having to scroll left/right/left/right/left/right when reading a long article?

No, Safari on iOS auto-formats text columns to be screen width when you zoom in (double-tap) on them... but the rest of the website is intact!

Re: HEAD – A guide to <head> elements

#97
post #37

Earlier quoted context omitted.

Quite a few of these can be set in the HTTP headers as well, but people editing templates don't always have access or know how to do it. BTW; not all UTF-8 text has a byte-order mark, I would say most of them don't.

BOM is not valid in UTF-8 for one thing.

To be pedantic, the Unicode standard disrecommends the use of a BOM in UTF-8-encoded documents rather than declaring it invalid.

Re: HEAD – A guide to <head> elements

#98
"Recommended Minimum" lists . While it is indeed recommended, the site should say to actually try testing the website on a mobile device with this attribute before adding it - marking the website as mobile friendly when it's not is worse than not doing so.

Re: HEAD – A guide to <head> elements

#99
post #91
post #14

Earlier quoted context omitted.

Uh... what do people call "it" now-a-days? Serious

I think people understood my comment neither correctly, and ,it seems, nor in the same way? Anyways, what I was asking was whether there exists a new name for html5? Have people dropped the 5? Comically, it was always a vague, tattered umbrella term from the get go (whenever used to refer to anything else than HTML5 the language/spec).

The spec which was once called HTML5 is just called HTML now. They dropped the version number since it is continuously updated rater than versioned.
Post reply on HN