basics of html coding code example
Example 1: html starter
<!DOCTYPE html>
<html>
<head>
<title>PUT A TITLE HERE</title>
</head>
<body>
<canvas id="canvas" width="200" height = "200"></canvas>
<script type="text/javascript">
</script>
</body>
</html>
Example 2: 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 3: html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML basics</title>
</head>
<body>
</body>
</html>