html program 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: what should i use for html

You can both use notepad(Pc), TextEdit(Mac) but thats not really good
so i would probably use atom, sublime text or visual studio code

Example 3: how to start a html file

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

Example 4: create page html

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

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Example 5: 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