HTML5 DOCTYPE
DOCTYPE
In the older versions of HTML we define doctype like this
code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
But in HTML5:
The doctype as you can see is much simplified in HTML5 as there is only one type of HTML document it is simply defined as <!DOCTYPE html> simple as that. Nothing more is needed to define the doctype.
0 commentaires:
Post a Comment