<!DocTyPe htML > code example
Example 1: doctype html model
<!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>
...
...
</body>
</html>
Example 2: html doctype declaration
<!DOCTYPE html>
Example 3: doctype html
<!DOCTYPE html>
This tag shows that it is running HTML5
Example 4:
<!DOCTYPE html>
Example 5: doctype html
<!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
Example 6: how to declare document as html
<!DOCTYPE>
<html>
<head>
<meata bla bla>
</head>
<body>
<p>hfkjhdskjfhkdjhfjdhkfhd</p>
<p>hkjdfhjdhfjhdjhfhdjfhdkj</p>
</body>
</html>