First, what is HTML5
HTML5 not only includes HTML, it is a series of related technologies used to make modern rich Web content.
Among these, the three most important technologies are: {
- HTML5 core Specification (tag Element) "Tag" = "label" = "element", such as <body><div><title>, are divided into single and double labels.
- CSS3
- Javascript. }
Second, HTML5 document structure
<! DOCTYPE html>//Document type declaration, case insensitive
<meta charset= "Utf-8" >//Declaration character encoding
<title> basic Structure </title>//Set document title
<body>//representing HTML document content
<a href= "http://www.baidu.com" > Baidu </a>//A hyperlink element (tag)
</body>//indicates end of HTML document content
Third,
1.To the search engine that the page is an HTML language, and the language is an English site, its "lang" means "language", the meaning of the language, and "en" means Chinese; If it is a Chinese page, change it to 2. Mainly for the search engine to see, the search engine will not judge the site is a Chinese station or English station, so this sentence is to let the search engine know, so whether it is en or ZH-CN, the HTML page itself will not have an impact.
3. It is instructive for Web page translation or screen reading browser, for example, if you use EN, some browsers will prompt you if you need to translate, with ZH-CN there is no such hint. These are HTML specifications, the more standardized the page, the more easily be included.
What is HTML5