css and html code in html file simple web 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