Here are the examples for Chapter 1, which introduces you to the main XHTML elements that add structure to your pages and text.
ch01-eg01.html | Your first web page |
ch01-eg02.html | Using attributes (to add a link) |
ch01-eg03.html | How white space is collapsed |
ch01-eg04.html | Creating headings using the hn elements |
ch01-eg05.html | Structuring headings and paragraphs |
ch01-eg06.html | The align attribute |
ch01-eg07.html | Creating paragraphs using the <p> element |
ch01-eg08.html | Creating line breaks using the <br> element |
ch01-eg09.html | Creating preformatted text using the <pre> element |
Try it out | Basic Text Formatting |
ch01-eg10.html | Using the <b> <i> <u> <s> and <tt> elements |
ch01-eg11.html | Using the <sup> <sub> <big> <small> and <br /> elements |
ch01-eg12.html | Adding emphasis with the <em> and <strong> elements |
ch01-eg13.html | Abbreviations, acronyms and definitions using the <abbr> <acronym> and <dfn> elements |
ch01-eg14.html | Quotations and citations using the <blockquote> <quote> and <cite> elements |
ch01-eg15.html | Code using the <code> <kbd> <var> and <samp> elements |
ch01-eg16.html | Addresses using the <address> element |
ch01-eg17.html | Unordered lists using the <ul> and <li> elements |
ch01-eg18.html | Ordered lists using the <ol> and <li> elements |
ch01-eg19.html | Definition lists using the <dl> <dd> and <dd> elements |
ch01-eg20.html | Nesting lists |
ch01-eg21.html | Editing text with the <ins> and <del> elements |
ch01-eg22.html | Block level and inline elements |