Document Type Definition

The DTD tells the browser what version of the document type the page is adhering to.

 

Does not have a closing tag.

 

HTML5 version:

<!DOCTYPE html>

 

HTML 4.01

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
“http://www.w3.org/TR/html4/loose.dtd”>

 

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”

“http://www.w3.org/TR/html4/strict.dtd”>

Leave a Reply