Well, a lot has changed since the 90′s, and the advent of dynamic web coding languages like PHP really make HTML old-school. Then again, you have to understand old-school HTML before you can understand the languages that dynamically create the HTML that browsers display.
Thankfully, there are now some awesome websites that do offer well-designed and useful HTML coding examples and tutorials. There are certainly still a whole lot of pretty crappy HTML-tutorial websites out there so I decided to pull together eight of my favorite websites. I should mention that MUO is probably the first place to start, with cool articles like Simon’s on basic HTML, Tina’s article on cool HTML effects, and Guy’s HTML tips to help your website load faster.
The following eight sites not only offer a good, solid foundation on HTML coding, but they also offer the best learning environment, with tools you can use to test out what you learn.
Top 8 Websites For HTML Coding Examples
One of my favorite sites that I usually check first whenever I forget the basic syntax for HTML statements is HTML Dog. The site is well-designed, unlike 90 percent of the web design websites out there that look like they were built in the 1990′s and never updated. The format is simple and fast – just click on the tutorial topic on the left and you can read it on the right.
HTML Dog provides clear examples in white code boxes which you can copy and paste into your own HTML code. When you’re ready for more advanced coding, you can scroll down the left menu and explore the “HTML Advanced” or CSS areas.
The cool thing about W3Schools is that they’ve incorporated a useful split-screen tool where you can test out the code you learn in each lesson. Just tweak the HTML a bit, click “Edit and Click Me” and you’ll see the results in the area to the right. Very useful!
In the HTML area, you’ll find lots of example code in text boxes that you can highlight and copy – with the actual display effect shown in the “Example” column. The HTML Generators at the bottom of the menu on the left are very useful for tweaking the code to the exact formatting you want.
Another site that offers the useful split-screen tool for testing HTML code is LandOfCode. While the main site offers a fair number of HTML examples, the formatting of the site leaves a little bit to be desired. However, access to the useful split-screen HTML test area more than makes up for it.
This one is actually a little bit more advanced than the W3Schools tool because it has additional buttons that’ll let you view the results in a new window, not just in the display area to the right.
Another site that is actually pretty useful once you start branching out into the more advanced formatting areas is Ove Klykken’s blog.
While you’ll definitely find articles with basic HTML coding examples on the blog, the really cool thing about the site is the new, unique coding examples offered in CSS, such as a CSS photo gallery, rollover images or creating transparent images.
A couple more websites that I wanted to touch on aren’t the best of the best – but they do stand above other HTML code sites because they’re well written, well formatted and cover the topic thoroughly. The first of those is EchoEcho.
This site is actually devoted to offering a lot more than tutorials – there’s a forum, articles and more. But the HTML tutorials area is really thorough and useful.
The HTML/CSS section of the Java2s website is another example of valuable basic HTML information getting buried within advanced coding tutorials, but once you find it there are lots of useful HTML coding examples.
Webpages That Suck
Finally, because it’s always a good idea to learn how to code by seeing examples of how not to code, I have to give kudos to one of the most useful sites on the Internet that all students that are new to HTML should bookmark. The site is called WebPagesThatSuck.
Here, you’ll find examples of both good and bad web coding. Some of the daily web-design mistakes uncovered in the “Daily Sucker” section are pretty funny.
Do you know of any other really useful HTML example resources for web programmers that are just learning how to create webpages? Share your own resources in the comments section below.
Image credit: Ilker