BIGINING HTML CODE 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">
		//put your code here
	</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: basic html

<p>My cat is very grumpy</p>

Tags:

Html Example