Best way to write on a site with html code example

Example 1: 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 2: how to make an html document

First, you have to tick "File name extensions" if you haven't.
Secondly, you need to make a file somewhere in YOUR user. Make sure that it 
ends with .html
Then, copy this code:
<!DOCTYPE html>
<html>
  <head>
  	<title>Name your document title</title>
  </head>
  <body>
  	Put your document apperance here...
  </body>
</html>
Finally, open the HTML document and then you have your page!

Tags:

Misc Example