basic html document 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 make an html document

First, you have to tick "File name extensions" if you haven't.
Secondly, you need to make a file somewhere in YOUR user. Make sure that it 
ends with .html
Then, copy this code:
<!DOCTYPE html>
<html>
  <head>
  	<title>Name your document title</title>
  </head>
  <body>
  	Put your document apperance here...
  </body>
</html>
Finally, open the HTML document and then you have your page!

Tags:

Misc Example