Learning HTML is almost entirely a matter of learning what tags are available, what they do, and how to use them properly. There are two basic sorts of tags. The opening tag sets some formatting or text style type, which is then applied to the enclosed text, and then the closing tag turns the style off. The closing tag has the same name as the opening tag, with a prepended frontslash.
Some tags also take optional parameters inside the tag brackets.
Three basic tags must be included in all HTML documents. Text layout These tags allow you to separate text into paragraphs and sections. Like TeX, HTML will continue to lump text together into one long paragraph, ignoring line breaks in the source code, until it is explicitly instructed to do so. A shadowed horizontal groove. Larger and bolder font size, with white space before and after, suitable for section titles and such.