# Best book / website to learn HTML

**URL:** <https://boards.straightdope.com/t/best-book-website-to-learn-html/566260>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [January 3, 2011, 9:11pm UTC](https://boards.straightdope.com/t/best-book-website-to-learn-html/566260 "2011-01-03T21:11:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quasimodal](https://avatars.discourse-cdn.com/v4/letter/q/57b2e6/32.png) [@Quasimodal](https://boards.straightdope.com/u/Quasimodal)\
**Post date:** [January 3, 2011, 9:11pm UTC](https://boards.straightdope.com/t/best-book-website-to-learn-html/566260/1 "2011-01-03T21:11:47Z")

</div>

I want to expand my HTML skills. I only know the basics. I could take an online class from Athabasca university, but the class costs 700$, won’t be transferable to a future degree at a different institution, and the class text is from 2005! That might as well be 50 years ago at the rate computers change. Is there an online reference, or perhaps one really good textbook / workbook I could purchase instead?

I want to design my own personal website, and a website for a summer camp my girlfriend is running.

---

<div class="post-metadata">

**Author:** ![pantheon](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@pantheon](https://boards.straightdope.com/u/pantheon)\
**Post date:** [January 3, 2011, 9:16pm UTC](https://boards.straightdope.com/t/best-book-website-to-learn-html/566260/2 "2011-01-03T21:16:17Z")

</div>

> **[HTML Tutorial](https://www.w3schools.com/html/)**
>
> W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

Very good reference, and has quizzes for sections, and sandboxes (an open field to let you make changes to code and see the result live next to it.

---

<div class="post-metadata">

**Author:** ![Superfluous\_Parentheses](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Superfluous\_Parentheses](https://boards.straightdope.com/u/Superfluous_Parentheses)\
**Post date:** [January 3, 2011, 9:20pm UTC](https://boards.straightdope.com/t/best-book-website-to-learn-html/566260/3 "2011-01-03T21:20:06Z")

</div>

What exactly do you want to learn?

The basics of HTML haven’t really changed in the last 8 years or so. Anything new (mostly, the proposed and partially implemented HTML 5 standard) you can pick up online in a day or two unless you’re also going for advanced javascript tricks. Stay away from XHTML if you don’t need it - and if you don’t know that you need it, you don’t need it. If you want to know the tricks of implementing nice layout/design, I recommend you take a good look at “modern” CSS and how to use it. I haven’t read it, but O’Reilly books are usually pretty good, so you may want to consider the quite recent [HTML & CSS: The Good Parts](http://oreilly.com/catalog/9780596157616/), which might work well with general reference sites like [w3schools](http://www.w3schools.com/).

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [January 3, 2011, 9:37pm UTC](https://boards.straightdope.com/t/best-book-website-to-learn-html/566260/4 "2011-01-03T21:37:46Z")

</div>

Another vote for w3schools. That’s the first place I look when I need to know something about any web-related technology.

---

<div class="post-metadata">

**Author:** ![Zyada](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zyada/32/3028_2.png) [@Zyada](https://boards.straightdope.com/u/Zyada)\
**Post date:** [January 4, 2011, 12:11am UTC](https://boards.straightdope.com/t/best-book-website-to-learn-html/566260/5 "2011-01-04T00:11:39Z")

</div>

A third vote for w3schools. I’ve been using that to learn HTML and a lot of the other stuff they have.

Every once in a while I run across something that I am not getting on w3schools, so I look at other tutorial sites. Then I go straight back to w3schools, because it is so much better than any other sites I’ve found.

HTML isn’t the only thing you’ll want to learn, though. Here’s what you should know before diving in:

HTML (hyper-text markup language) is the fundamental set of building blocks that you use to build your web site. You can put together a web site with nothing but html. Your html should ideally be all about the pages content.  
CSS is how you give all of your pages the same look. It can be a little non-intuitive to work with, but if you have fifteen pages and you want all of the pages to have blue links and brown text, it will save you a lot of pain in the long run.  
JAVASCRIPT is how you make your page do stuff, instead of just sitting there. If you want your page to do anything beyond show pretty pictures and have links to other pages, you will want to learn javascript.

There are two variants of the above worth mentioning:  
XHTML is extended HTML. Essentially, it’s HTML with a slightly more rigorous syntax to allow smartphone surfing.  
AJAX is a technique, rather than a language. It allows a page to change after the page has been loaded, without reloading. This is how the google dropdown works. It’s pretty advanced stuff, so you probably won’t be using it, but you’ll see it mentioned.

---

<div class="post-metadata">

**Author:** ![Markxxx](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Markxxx](https://boards.straightdope.com/u/Markxxx)\
**Post date:** [January 4, 2011, 1:14pm UTC](https://boards.straightdope.com/t/best-book-website-to-learn-html/566260/6 "2011-01-04T13:14:10Z")

</div>

O’Reilly has great books for beginners

_[Head First HTML with CSS & XHTML](http://oreilly.com/catalog/9780596101978)_ is a great place to start. You’re library may have it.

This will cover HTML (XHTML) and CSS basics. Of course you’ll want more and O’Reilly has other books like Javascript and PHP.

As others said, w3schools is a great tool as is _[Dynamic Drive](http://www.dynamicdrive.com/)_
