Introduction of HTML

HTML Document Type

HTML Document Type

In All HTML documents start with a <!DOCTYPE>.

The declaration is not an HTML tag. It is an "information" to the browser about what document type to expect. In HTML5, the <!DOCTYPE> declaration.

<!DOCTYPE html>

Some valid HTML Elements in Different DOCTYPES
Tag HTML 5 HTML 4 XHTML
<a> Yes Yes Yes
<acronym> No Yes Yes
<address> Yes Yes Yes
<area> Yes Yes No
<article> Yes No No
<audio> Yes No No
<b> Yes Yes Yes

Leave A Comment :