views:

138

answers:

9

Before reading JavaScript books, what is a good resource for learning HTML and CSS? I'm looking for material that will get me up to speed rather than specify every single compliance standard. So, concepts that are prerequisites for exploring JavaScript. I've done basic web development for about 6 months (HTML/CSS, ASP.Net) but my approach has been a top-down one - I've learnt from tutorials and code examples rather than books.

Many thank you's...

A: 

W3 Schools is a fantastic starting point.

Mark Hurd
W3 Schools is terrible, they are frequently wrong, oversimplify and teach bad habits.
apphacker
But other than that, they're fantastic! :-)
Will Hartung
http://web.archive.org/web/20080122034053/http://webdev.benjaminhawkeslewis.com/getting-started/ - that guy seems (seemed?) to agree with apphacker
+2  A: 

From personal experience, learn by example. Use the view source command in your browser to see how sites you like are crafted.

Sliff
Unfortunately, many sites are very badly designed. Seeing how they did it just teaches bad techniques.
David Dorward
Fair point, but I do believe that certain best practices in web design come with experience. I started out developing web sites some 13-14 years ago, and when I look back at a number of sites I developed all those years ago, I do wince. Now part of that is due to the limitations of HTML in those days, but it was only by constantly delving into how other people had done things, and looking at the likes of the now defunct builder.com, and more recently web developers blogs that I kept on top of what were/are the best practices.
Sliff
A: 

HTML Dog is what I usually recommend

Matt Briggs
A: 

In addition to the aforementioned W3 Schools site, you could also look at SitePoint or some of the other, similar questions. (i.e. this one)

As also mentioned, you could find what you like and take a peek at the source, and ask about any particular item you don't understand. This option isn't without its pitfalls as there is some horrendous code floating around out there... same could be said for some of the tutorials - which is why the two sites I mentioned are run by reputable entities. ;)

AnonJr
Why the downvote? I'll fix the answer if its a legit concern... or is it because despite the oversimplification, I still think the w3schools site is an ok place to start?
AnonJr
A: 

I would recommend any of the tutorials on www.tizag.com. They are well written, concise, and the samples they give are useful.

Pro777
+1  A: 

Designing with Web Standards by Jeffrey Zeldman and, Eric Meyer on CSS and, More Eric Meyer on CSS

Read all three of those (or any one) and you'll be rewarded with an excellent foundation in HTML/CSS.

Mike Robinson
A: 

The Opera Web Standards Curriculum is a good starting point. It covers things clearly, and explains the "whys".

David Dorward
A: 

In addition to the above answers... I liked Andy Budd's CSS Mastery book. The head first books are usually ok and a quick to read through, so that may be an option.

Try to get something 2005 or newer. For instance, the Eric Meyer on X books above are excellent (some of my favorites) but contain some things that are no longer completely kosher.

Hexxagonal
A: 

For some good examples on CSS design, I recommend css Zen Garden

Logan5