Designing with (X)HTML
Sharaf Atakhanov
Quick Summary of (X)HTML
- XML + HTML = XHTML
- Successor to HTML 4.0 using CSS
- CSS — used to style page elements and layout
- CSS is XML based language
- Web Standards — Separation of structure, presentation and behavior
- XHTML Flavors — Strict,
Frameset, and Transitional (specify using DOCTYPE)
Content Structure within XHTML
Meet the Tags
More Tags
Naming Elements
Unique Elements
- <div id="name"></div> for a group of elements
- <span id="name"></span> for a span of text or inline elements
- Each id must be unique
- Creates an anchor within the page
Groups of Elements
- <div class="name"></div>
- <span class="name"></span>
Examples
Extras
- <del></del>
- <pre>
- <br />
- <!-- comments -->
- <blockquote>
- <sup></sup>
- <sub></sub>
- <abbr title="text"></abbr>
- <acronym>