Pingcode
0
Q:

html doctype

<!DOCTYPE html>
This tag shows that it is running HTML5
3
<!DOCTYPE html>
<!--Use the html tag too, under the declaration. -->
7
<!-- HTML 5 -->
<!DOCTYPE html>
<!-- HTML 4.01 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- XHTML 1.1 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2
<!DOCTYPE html>
it lets the browser know about the version of HTML you
are using.but it is not nessesary 
since your browser will render it anyways
1

<!DOCTYPE html>

<html>

<head>

<title>Title of the document</title>

</head>


<body>

The content of the document......

</body>


</html>
 
0

New to Communities?

Join the community