I would just start doing google searches for "HTML tutorial" and find some place that fits your liking. Here's one that looks like it might be a good place to start:
http://www.echoecho.com/html.htm
You don't have to learn everything about HTML but just understand the basic structure and then you'll use HTML references to check tag options, etc. Since you are going to be doing database work you'll want to be able to do basic HTML and you'll want to understand HTML forms and HTML tables.
Of course
http://www.w3.org/ is where the HTML standards are published so it would be a good idea to browse that site. They even have HTML validator so you can put the URL of your page into the validator and it will check it out and tell you whether it follows standards and point out your errors if you have any and tell you how to fix them.
As a matter of fact w3 has tutorials right on their site:
Basic:
http://www.w3.org/MarkUp/Guide/
Advanced:
http://www.w3.org/MarkUp/Guide/Advanced.html
I personally use VIM to edit HTML and PHP. I really like it's color syntax highlighting among other things.