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 - Starting the Example Cafe |
ch01_eg10.html | Using the <b> <i> <u> <s> and <tt> elements |
ch01_eg11.html | Using the <sup> <sub> <big> <small> and <hr /> elements |
ch01_eg12.html | Adding emphasis with the <em> and <strong> elements |
ch01_eg13.html | Addresses using the <address> element |
ch01_eg14.html | Abbreviations, acronyms and definitions using the <abbr> <acronym> and <dfn> elements |
ch01_eg15.html | Quotations and citations using the <blockquote> <quote> and <cite> elements |
ch01_eg16.html | Code using the <code> <kbd> <var> and <samp> elements |
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 |
Try it out | Text formatting - Example Cafe Recipes page |
ch01_eg21.html | Editing text with the <ins> and <del> elements |
ch01_eg22.html | Block level and inline elements |