HTML
From Lankyland
HTML
Contents |
XHTML Compatibility
- Beware of XHTML - it's likely a trap!
- go validate your source
Declaring the Document Type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Things to Remember
- Every opened tag must be closed. Tags like the
<img>can be closed like this<img src="source.jpg" /> - Nested tags need to be closed in order.
- Wrong:
<b><i>Bold and Italics</b></i> - Right:
<b><i>Bold and Italics</i></b>
- Wrong:
Useful Tools
Delicious MP3 Player
Play music through the web browser by including this JavaScript in the head tags.
<script type="text/javascript" src="http://static.delicious.com/js/playtagger.js"></script>

