from Hacker News

A list of everything that goes in the head of your document

by nauman on 5/24/16, 2:24 AM with 4 comments

  • by Olscore on 5/24/16, 4:00 AM

    Solid list. Operating several sites today, modern search engines do not require keywords or description tags for content to be effective. So if you operate a blog, or custom site don't put much effort or time into it. If you are looking to cut down on dev time in real world sites, the most important thing are [1] title, [2] http-equiv, [3] charset, [4] canonical, and [5] viewport. Those first 3 will be sufficient for most purposes, i.e., MVP websites.
  • by erikpukinskis on 5/24/16, 3:52 PM

    Slightly off topic, is there really any practical reason to setting the DOCTYPE and all that? I just write <html><body></body></html> and get going. I know supposedly browsers will switch modes and stuff, but is it really important to set the mode if I don't even know what mode I would want?
  • by nauman on 5/24/16, 2:25 AM

    I must say this is quick guide and really useful