I'm looking for the best books about web pages, but for the point of view of a programmer. I'm not looking for examples of good page navigation. I'm more interested into the technical information. For example HTML v3 vs v4 vs v5 (or even v4 vs v4.01). What are the most common meta tags and what do they do in each browsers. Common pitfalls about caches. Examples of layout that results in a page loading faster. Tables vs div in term of memory consumption. Etc.
A really good reference is Dynamic HTML: The definitive reference from O'Reilly. It has a lot of details for HTML, DOM and CSS including browser specific details.
I can enthusiastically recommend O'Reilly's "Web Design in a Nutshell". It covers a very broad range of topics.
I very rarely buy books for programming anymore. It's so much easier to find examples, tutorials, comparisons, etc. on the web.
Having said that, I'd agree with Web Design in a Nutshell as well, assuming you just gotta have a book.
G-Man
O'Reilly's series Head First covers topics of your interest in funny and irresistible way
Head First HTML with CSS & XHTML
Head First JavaScript A Learner's Companion to JavaScript
'Nutshell' is a good book.
As a CSS advocate (and I appreciate you're not thinking about CSS at this point, but encourage you to do so) I'd also load my book shelf with CSS: The Definitive Guide By Eric A. Meyer
I'd have to go along with Boris and say: Head First HTML with CSS and XHTML.
I'd also take a look at: Stylin' with CSS