D Mac
40
Q:

doctype html

<!doctype html>
<html lang="fr">
<head>
  <meta charset="utf-8">
  <title>Titre de la page</title>
  <link rel="stylesheet" href="style.css">
  <script src="script.js"></script>
</head>
<body>
  ...
  <!-- Le reste du contenu -->
  ...
</body>
</html>
8
<!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 -->
<!DOCTYPE html>
2
<!-- 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>
 
0
<!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
<!DOCTYPE>
<html>
	<head>
      	<meata  bla bla>
     </head>
      <body>
        	<p>hfkjhdskjfhkdjhfjdhkfhd</p>
       		 <p>hkjdfhjdhfjhdjhfhdjfhdkj</p>
      </body>
</html>
0
<!DOCTYPE html>
0

New to Communities?

Join the community