Main things in


#1

From what I’ve gathered recently, the two things that are normally at the top of a webpage after

are:

<html lang="en-US">

            and      

<meta charset="utf8">

Is there anything else thats normally there?

want to point out that i know meta data typically goes between the head tags


#2

No. And it is anal to specify US. That is the default.

UTF-8

What is more critical is to understand the importance of these declarations. One declares the human readable language of the content, and other declares the character encoding applied to text that is read in. These are technical concerns that deserve due diligence (as in, understanding).

Note:

Other lexicons exist within one language. For English there are US, UK, AU, NZ, CA and a host of other Commonwealth countries, but the dialect will not be much different from UK (or AU) on the extreme diction end (mostly the added u). The world has gotten accustomed to both forms, by now. It’s a moot topic. The US form has taken the lead in global terms.

The encoding is what drives the rendering of the document; while the human language aspect is of greater importance to screen readers and other user agents more centered on diction and semantics of the content.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.