To start coding your HTML document open Notepad. Notepad has the features needed for HTML, but none of that extra stuff that comes in Word, Works, Open office, and Wordpad.
save your HTML document, but where you put the name, add .htm to the end. (for mac users add .html)
Most HTML tags must have a closing tag.
It will look something like this when you write it, in notepad, or another simple text editor.
- <center> hello world </center>
And when you publish it onto the internet it will look like this
- hello world
Closing tags tell your browser when to stop effecting text. Otherwise your entire document would feel the effects of the tag.
some tags do not need a closing tag such as
- <br>
- <hr>
- <p>
To begin, all HTML documents must begin with the tag <html> This tag shows that your document is an HTML document.
Next add a <head> tag.