html programs code example

Example 1: simple html website coding

<!DOCTYPE html>
<html>
<head>
<style>
body {background="purple";}
</style>
<title>Page Title<title>
</head>
<body>
<h1>Yay</h1>
<p>yay is a word used to describe that your happy!</p>
</body>
</html>

Example 2: how to start a html file

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

Example 3: simple program of html

<html>
  <body>
    <head>
      <title>Hello</title>
      <h1>Hello World!!</h1>
    </head>
    <h2>Made By Darsh Garg</h2>
  </body>
</html>
This program is very simple for beginners

Thank You

Tags:

Misc Example