TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask YC: what are the best books to learn CSS and XHTML from?

10 pointsby getpabout 17 years ago
Today I almost bought the Agile Web Development with Rails book, until I remembered some posts here (http://news.ycombinator.com/item?id=104745 a.o.) that you should The Rails Way instead. So now I'm getting that one :-) But also, I'm looking into the frontend of developing web apps, so what would be the best choices for books on XHTML, CSS, etc.?

11 comments

xiriumabout 17 years ago
I advise people to get the oldest books possible. The reason for this is that the books don't get thicker but they have more topics to cover and tend to concentrate on the most whizzy features. If you get an old book then it'll cover the basics in more detail.
评论 #130355 未加载
mdemareabout 17 years ago
No idea what there is to learn about HTML, it's CSS that's the problem. I've never found a resource that explained CSS well.<p>CSS still surprises me almost daily. I'll be probably fluent in Haskell before I ever get CSS. What would really help me is having the source code of a well-written, high-level CSS rules engine - written for educational purposes, not for performance.
ratsbaneabout 17 years ago
I've bought several CSS books over the years but the only reference I use consistently is the actual CSS specification from the World Wide Web Consortium: <a href="http://www.w3.org/TR/REC-CSS2/" rel="nofollow">http://www.w3.org/TR/REC-CSS2/</a><p>Also, it's free and you can keep a copy of the PDF on your computer and search it when you need something specific. It's more conversational and has more illustrations than most internet spec documents. However it doesn't tell you what parts of CSS aren't implemented correctly by specific browsers or give thorough examples.<p>The W3C HTML and HTTP documents are really good too:<p><a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html" rel="nofollow">http://www.w3.org/Protocols/rfc2616/rfc2616.html</a><p><a href="http://www.w3.org/TR/html4/" rel="nofollow">http://www.w3.org/TR/html4/</a>
iamdaveabout 17 years ago
Dan Cenderholm's "Bulletproof Web Design" is a must read.<p><a href="http://www.simplebits.com/publications/bulletproof" rel="nofollow">http://www.simplebits.com/publications/bulletproof</a>
showerstabout 17 years ago
It's very much paced towards a beginner, but I know a lot of people who love the head first HTML book: <a href="http://www.amazon.com/Head-First-HTML-CSS-XHTML/dp/059610197X/ref=sr_1_1?ie=UTF8&#38;s=books&#38;qid=1204642166&#38;sr=8-1" rel="nofollow">http://www.amazon.com/Head-First-HTML-CSS-XHTML/dp/059610197...</a><p>If you're more advanced or just looking for a brush up i second Dan Cederholm's book aimdave recommended.
joshstaigerabout 17 years ago
I like CSS Mastery:<p><a href="http://www.amazon.com/CSS-Mastery-Advanced-Standards-Solutions/dp/1590596145/" rel="nofollow">http://www.amazon.com/CSS-Mastery-Advanced-Standards-Solutio...</a><p>It does a great job of calling out CSS bugs in specific browser versions and describes how to work around them.
rksprstabout 17 years ago
<a href="http://w3schools.com/" rel="nofollow">http://w3schools.com/</a> is all you need, the best way to learn is just start working and then look up anything you don't know how to do.
Hexstreamabout 17 years ago
Personally I learned HTML and CSS from the specifications and some experimentation while doing a project... I don't see why you'd need books to learn those.
m0ntyabout 17 years ago
Recipe-book style, light on theory but good for solving problems:<p><a href="http://www.sitepoint.com/books/cssant1/" rel="nofollow">http://www.sitepoint.com/books/cssant1/</a>
getpabout 17 years ago
The HTML Dog looks pretty good, right? <a href="http://www.htmldog.com/book/" rel="nofollow">http://www.htmldog.com/book/</a>
kajecounterhackabout 17 years ago
CSS: The Definitive Guide (O' Reily)