When I use to write pages in XHTML. I had 3 types of doctype
- strict
, transitional
and frameset
.
Do we have them in HTML5?
the html5 doctype is
<!DOCTYPE html>
When you use the new HTML5 DOCTYPE, it triggers browsers to render the page in standards compliant mode.
Standards-compliant mode
Courtesy this link
No, the HTML5 doctype
<!DOCTYPE html>
is unique, since it was chosen as the shortest doctype (string) able to turn all current browser (even IE6, afaik) in standard mode (and it can be written in upper/mixed case)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With