Note—this article is OUTDATED. My choices of websites you can and should learn from has changed.
First off: there are many excellent tutorials on the net which will fulfill all you need to learn how to create Web pages. From my experience (and I have learned HTML, etc. just from the net and the occasional book) I must emphasize one point: the most difficult task in learning designing/coding is separating the grain from the chaff. As many excellent tutorials as there are, there are more completely useless tutorials, which promise the moon and end up giving stale cheese.
For those of you just beginning, I would seriously suggest http://www.w3schools.com . Don’t be concerned about the staid look of the website. The content is solid gold; you get complete references, accurate information and short and sweet tutorials with loads of examples. Again, for the beginner: try reading/coding HTML — xHTML -> CSS -> Javascript -> PHP & SQL -> AJAX. This is roughly the order I went in (though I learned Javascript before CSS). Stuff I know that you (& I) should cover, but have no idea about where to fit in: XML and Flash. When (and if) I learn more about these, I’ll edit this post.
A few tips while coding up websites:
- From the beginning, ensure cross browser compatibility. Whether or not you consider IE6 worthy enough to be included in the list of browsers your site appears perfectly in, depends on your personal opinion. There are those who would argue much more for all round accessibility, and those who consider the 8 years old (malfunctioning) browser obsolete. Personally, I agree with the latter. (Very few websites I design work completely in IE6).
- Write code as if someone else will grade it. Do your best to keep stuff well commented, neatly tabbed and avoid unsightly hacks put together at the last moment. Remember, unlike coding a program, where (in most cases) the code is a secret you can carry to your grave, clicking “View Source” does allow everyone to see your sloppiness. And it ain’t easy to find bugs in messy code either.
- Keep everything W3 compliant. Always ensure that your websites are xhtml, css valid. Don’t forget to put in a !DOCTYPE.
- Try to use the best Search Engine Optimization practices from the beginning so that you get into a habit of using the proper elements at the right places. I’m afraid I still struggle and accidentally use [code]h1[/code] where I should have put an [code]h2[/code]. (If you don’t understand what I’m talking about, you will, later.)
- Use sprites while handling images. One of the worst impressions I can get of a site is having non-preloaded roll-over images.
- Look at the source code of sites that you like. Wonder about how certain effects might be created and then check from the source code.
- Use Firefox and its excellent plugins: Firebug (for looking quickly through a page, editing to find those pesky bugs on the fly and making your life much more comfortable) and Web Developer Toolbar (to do the few things firebug doesn’t).
- At all costs, never use GUI based webpage creators. Hand-code, use libraries, whatever. Don’t use something which doesn’t even give you a glimpse of the code.
Apart from the above, it’s always good to read stuff all over the web. I’ll keep putting up links here to interesting websites which give useful information, but it’s better if you search for yourself.
Pretty impressive post!
Btw, you can switch to Flash from JS (Though it can be learnt without knowing JS, but since Action Script is very similar to JS, it helps). These days, Flash is becoming an integral part of Web Designs (Use AS3, and you can easily cut down the size and still have awesome effects).
And yeah, nice links!
PS: Fix the link to http://www.htmlgoodies.com/ (“..to..”)
Fixed the link. Thanks.
As for flash, I like the games; but otherwise somehow I feel flash is unnecessary unless you want a really heavy website (quite probably a case of sour grapes
). Glad you liked the links; was there anything you hadn’t seen before? Just wondering.