html start code code example

Example 1: HTML hello world

<!DOCTYPE html>
<html>
  <body>
  	Hello World!
  </body>
</html>

Example 2: 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 3: html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>HTML basics</title>
    </head>
    <body>


    </body>
</html>

Example 4: html start a page

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Example 5: html start code

<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  <body>
	
  </body>
 </html>

Tags:

Misc Example