Getting started in HTML

The code or programming language we are going to use here is HTML (Hypertext Markup Language), or more strictly speaking, XHTML (Extensible Hypertext Markup Language), which became W3C (World Wide Web Consortium)-recommended in 2000. A website that conforms to an XHTML specification is said to be valid. Any document can be checked for validity with the W3C Markup Validation Service. One of the differences between HTML and XHTML is that the latter is case-sensitive: tags in XHTML should always be lower case. Other differences, such as the closing of ‘empty’ tags, will be mentioned as we encounter them. Be aware also that to write validating code you must make sure you use the terms and syntax exactly as they are defined ...

Get How to Design Websites now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.