HTML5 Simplified Html Tag

By Santhosh N

This explains the modified html tag in HTML5 which is simple to use for the developers.

Html tag in HTML5 can be written in the following way
<html lang="en" >
Which otherwise would look something like as below in traditional previous versions of html.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

In HTML5, namespace is not required as HTML5 is moving away from xml, and it requires only LANG attribute.

Related FAQs

This explains the modified script tag in HTML5 which is simple to use for the developers.
This explains the modified meta tag in HTML5 which is simple to use for the developers.
HTML5 Simplified Html Tag  (760 Views)