views:

147

answers:

7

Hello. One of my friends is wanting to learn HTML for the purpose of helping me to create websites. I figured the best place to start is working with the frontend of websites.

What good online resources out there can I recommend to my friend? Most of the online HTML tutorials out there teach the deprecated way of writing HTML, such as using frames and not using CSS.

Things I'd like to see covered are really just HTML and CSS(and the proper way to intermix them), though an intro to Javascript is a definite plus.

Note: My friend is what I'd call a power user, but he has no programming experience at all.

Actually I forgot that my friend has had a bit of experience with programming. He was in one semester(and then dropped the class) of AP Computer Programming which taught Java.

A: 

Google actually has some pretty good content that your friend might like:
HTML, CSS, and Javascript from the Ground Up

Larsenal
+2  A: 

You are right there are many BAD resources out there. I would get started at

http://www.w3schools.com/

also have them checkout

SmashingMagazine.com

they have a lot of resources and many are aimed at beginners and designers getting into web development.

jhanifen
can you list a single article from there?
Earlz
W3Schools is one of those bad resources. It has lots of errors, many subtle (which won't bite you if you only test with a graphical browser (as opposed to a search engine or a screen reader)). It only has a reputation for being good because the competition when it gained prominence was worse.
David Dorward
A: 

http://www.w3schools.com/

aartist
+4  A: 

Quite simply, build some sites just to play around with. You can read all the books, website postings, blogs, and magazines you want. But, most of what you read will slowly be forgotten unless you practice the concepts and techniques that you learn. The best way to learn any language (whether natural language or programming language) is by immersing yourself in it. Hands-on learning is the best when it comes to learning languages.

However, that doesn't stop me from surrounding myself with books on HTML, CSS, JS, etc.; Check out the books from O'Reilly especially, they are very detailed. They are not geared for beginners persay, but I would recommend them.

Book recommendations:

This is the JavaScript book I first bought: http://www.amazon.com/JavaScript-Definitive-Guide-David-Flanagan/dp/0596101996/ref=sr_1_1?ie=UTF8&s=books&qid=1284506913&sr=8-1

I actually never bought a beginner's HTML book, so I can't recommend one. The same goes for CSS. However, one CSS book you may find useful is this one which I do have and like a lot: http://www.amazon.com/CSS-Cookbook-3rd-Animal-Guide/dp/059615593X/ref=sr_1_11?s=books&ie=UTF8&qid=1284506959&sr=1-11

SimpleCoder
maybe check out the Head First Html and CSS book - http://oreilly.com/catalog/9780596101978/ and the HTML 5 up and running - http://oreilly.com/catalog/9780596806026/
Russ Cam
The Head First books are a great series. I personally have only used the Java one, but from the parts of it I read, they provide a great intro.
SimpleCoder
A: 

I'd say, learn from w3schools for basics but look at http://www.csszengarden.com/ for partial examples.

Chi Chan
CSS Zen Garden is designed to show off what **can** be achieved. It often veers a long way from what *should* be achieved, and never touches on the *best* way to achieve it (the markup, for instance, is insanely bloated so that it can be styled in many vastly different ways)
David Dorward
A: 

Opera produced, with the help of a bunch of (good) external contributors, the guide that I am happiest recommending: http://wsc.opera.com/

Coming in second is http://htmldog.com/

David Dorward
A: 

Have your friend pick up a cheap "learn HTML" book (such as this one). Is it dated? Yes. Will your non-programmer friend learn the basics of HTML? Yes. I can hear the groaning from the crowd, but hear me out.

As dubious a resource some of these "learn HTML" books can be, they are geared towards the layman...just like your friend. Throwing your friend towards some blogs, a W3 Schools site or (God forbid) a W3C Recommendation won't help them in the least. If your friend is starting out, then they need a little hand-holding. In my opinion, that's the true value of the book.

Since I gather that you are a web developer, your role should be to mentor your friend as they're going through the book at their pace. If they start asking about frames, tell them not to worry about it so much but it would be to their benefit if you can explain the disadvantages. Same with the blink tag and table-based layouts. Don't overwhelm your friend, but encourage and answer questions as they come naturally. I think this approach is far more useful and effective than simply throwing them at a website, and may cost you less of your time than you may imagine.

At the point that your friend has completed the book and is making some basic web pages, he or she should know if this HTML thing is something they still wish to pursue. If so, there are decent sites like A List Apart that can provide some up-to-date design and development tips. Mark Pilgrim's Dive Into HTML5 is another great resource.

Cal Jacobson
Dated? It has a review from 1999 complaining that it is dated! I think it might have gone a step beyond since then.
David Dorward
And my point still stands: such a book is geared towards the layman. It doesn't have to be *that* specific book. A 40-year-old medical school textbook is likely dated as well, but it still covers the *fundamentals*. As long as you don't go out into the world and operate strictly on what you've learned from such a source, you'll be OK.
Cal Jacobson