HTML & CSS : the Complete Reference, 5th ed. / Thomas A. Powell, McGraw-Hill, 2010
Here are all the details for the web programmer. Of particular interest is the coverage of HTML5, which many of us hope will make Flash obsolete.
If you are publishing web content, you probably don’t want this book: use Drupal or WordPress so you don’t need to fuss with the HTML. 800 pages.