Learning HTML and XHTML

The web is built on HTML. It is its foundation. Therefore it is very important that you understand it inside out if you want to be a web designer/developer. Thankfully the web is full of great resources to help you along the way.

Here is some of the best:


Tizag has some very easy to follow HTML tutorials which are perfect for beginners.

Learn HTML with Tizag

W3 Schools

W3 Schools has excellent and comprehensive tutorials on HTML and XHTML (the latest version of HTML).

Learn HTML with W3 Schools
Learn XHTML with W3 Schools

HTML Code Tutorial

Broken into logical sections, HTML Code Tutorial is another great HTML resource.

Learn HTML with HTML Code Tutorial

W3 Validation Service

Once you have learnt the basics, you will want to put an HTML page together. In order to ensure you have done everything correctly, you should validate your code using the World Wide Web Consortium's HTML Validation Service. This will ensure that your code complies with the latest web standards. You want check a live URL, upload an HTML file or copy and paste your HTML code.

Validate HTML


It is important to remember with HTML or XHTML, whatever you choose you should validate to Strict Doc Type. Choose a doc type here: http://alistapart.com/stories/doctype/

Can you please explain de difference between HTML and XHTML or refer me to a good tutorial? I'm new in HTML coding and I would like to optimize my time and energy in learning.


Jim from Housse de canape

Blair Wadman's picture

Hi Jim,

XHTML is based on XML and is more strict than HTML. Although in reality, there is not a massive difference between XHTML and HTML4.01.

There is a summary of the difference at W3Schools here:

New comments for this tutorial have been turned off.