how to use document in html code example

Example 1: basic html document

<!DOCTYPE html>
<html lang="pt-br" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="stylesheet" type="text/css" href="style.css">
	<title>...</title>
</head>
<body>
	...
<script type="text/javascript" src="script.js"></script>
</body>
</html>

Example 2: how to declare document as html

<!DOCTYPE>
<html>
	<head>
      	<meata  bla bla>
     </head>
      <body>
        	<p>hfkjhdskjfhkdjhfjdhkfhd</p>
       		 <p>hkjdfhjdhfjhdjhfhdjfhdkj</p>
      </body>
</html>