Here are some links I've collected from various sources.
Using a drag-and-drop editor. It adds a lot of code you don't need,
and I don't actually recommend using it except to get started. But it
can be a quick and easy way to get started.
Let the editor create the code for you, then view it.
Just viewing other people's HTML code. If you
see something you like on the Web, you can immediately see how it was done.
How to Set Up and Maintain a Website
by Lincoln D. Stein. It's a regular book, it's great, and it was the textbook
for a CGI class that I had. You don't need the latest edition; buy a used one.
Various other HTML books.
People have been trying to standardize HTML code for years. The simple reason
why it was not standardized to begin with, imo, is a combination of Microsoft and
trying to get as many people as possible to learn how to use the Web.
Microsoft is...Microsoft. There are quite a few HTML tags that work only in
IE.
Trying to get people to use the Web meant that the stringency of most programming
languages would discourage non-programmers from setting up websites.
That said, HTML now is much more standardized than it ever was before.
Try looking at books using "Web Standards" and comparing them with earlier
versions of HTML. Web Standards do not always work across the
browsers that people use, but with so much effort to standardize HTML, they
should at some point work. So it is well to become familiar with Web
Standards.
Googling. Once you know enough to look up stuff on Google, it can
be the fastest way to get just the information you need.
Good old trial and error. You won't learn if you don't make mistakes!