All HTML documents must start with a <!DOCTYPE>
declaration. This <!DOCTYPE>
tag tells the browser what version of HTML the page is written in.
Using <!DOCTYPE>
to declare the version of HTML the page is written in.
<!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> The content of the document...... </body> </html>
<!DOCTYPE>
<!DOCTYPE>
is the very first line in the HTML document.<!DOCTYPE>
does not need a closing tag.For more information, see http://www.w3schools.com/tags/tag_doctype.asp
Found a bug in the documentation? Let us know at documentation@code.org