write < in html 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>

Tags:

Html Example