Let’s talk about the difference between html and HTML5

Someone asked me today, do you often use html5 or html? emmm… In fact, when I usually write web pages, I don’t make a special distinction between the two. If you have to say the difference, the obvious difference is the ones I listed below. As for understanding at a deeper level: HTML5 has gone far beyond the scope of markup language, behind it is a set of technology. Xiaobai’s study is too shallow, so he dare not talk too much. >.< 1. The type declaration of the document is different html: “http://www. w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> html5: The document declaration is relatively simpler, which is helpful for programmers to read and develop quickly. 2. Semantic structure html: There is no structural semantic label (commonly speaking, it is inconvenient to read, and it does not tell you where the head is. Where is the tail) html5: Added many semantic tags, make the code structure clear and improve the readability of the code. Here are some semantic tags in html5: : short, descriptive, unique (improve search engine rankings) : h1~h6 hierarchical headings, used to create a hierarchical relationship of page information. : The header usually includes the site logo, main navigation, site-wide links, and…

Let’s talk about the difference between html and HTML5

Someone asked me today, do you often use html5 or html? emmm… In fact, when I usually write web pages, I don’t make a special distinction between the two. If you have to say the difference, the obvious difference is the ones I listed below. As for understanding at a deeper level: HTML5 has gone far beyond the scope of markup language, behind it is a set of technology. Xiaobai’s study is too shallow, so he dare not talk too much. >.< 1. The type declaration of the document is different html: “http://www. w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> html5: The document declaration is relatively simpler, which is helpful for programmers to read and develop quickly. 2. Semantic structure html: There is no structural semantic label (commonly speaking, it is inconvenient to read, and it does not tell you where the head is. Where is the tail) html5: Added many semantic tags, make the code structure clear and improve the readability of the code. Here are some semantic tags in html5: : short, descriptive, unique (improve search engine rankings) : h1~h6 hierarchical headings, used to create a hierarchical relationship of page information. : The header usually includes the site logo, main navigation, site-wide links, and…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索