1. Why Do I Need XHTML?.- Why switch to XHTML?.- What do I need?.- Is this book for you?.- How to use this book.- Dont type!.- 2. XML And XHTML.- HTML versions.- What is XML?.- What is XHTML?.- Tags, elements and attributes.- XML rules.- What is JavaScript?.- Getting started.- 3. Creating XHTML Documents.- Starting an XHTML document.- The XML statement.- The DOCTYPE statement.- The namespace declaration.- Combining namespaces.- The html element.- White space.- The head element.- The title element.- The meta element.- The base element.- The body element.- Validating the document.- The p element.- Other paragraph types.- 4. Formatting Documents.- Headings.- Line breaks.- Inserting lines.- Colours and Fonts.- Setting the background colour.- Setting the text colour.- Setting the font.- Lists.- Nesting lists.- Definition lists.- 5. Creating Links.- What is a URL?.- The protocol identifier.- The Web server.- The folder and filename.- The a element.- Absolute and relative URLs.- Absolute URLs.- Relative URLs.- Server relative URLs.- Links within a document.- Email links.- 6. Creating And Using Tables.- Creating tables.- Formatting tables.- Formatting cells.- The align and valign attributes.- The colspan and rowspan attributes.- Grouping table elements.- The colgroup element.- Style sheets.- 7. Working With Images.- Image Formats.- GIF files.- JPEG files.- PNG files.- Which format should I use?.- Minimizing file size.- Displaying images.- Linking from an image.- Image maps.- Defining Rectangles.- Defining Circles.- Defining Polygons.- Defining the default region.- Activating the map.- Client and Server side maps.- 8. Cascading Style Sheets.- Types of style sheets.- Embedding a style sheet.- Style sheet codes.- Linking to a style sheet.- Applying styles to more than one element.- In-line formatting.- Classes and IDs.- Creating and using IDs.- Creating and using classes.- Creating a style sheet.- Font properties.- Font characteristics.- Text properties.- The margin property.lc7