All Materials Reviewed Can be found in "HTML for the World Wide Web," pages
13-82
Look at source code for this page and for examples to see (X)HTML
A great way to learn is by looking at source code:
In Safari select View>Source Code
In IE select View>Source
example of DOCTYPE
Basic XHTML page before content inserted.
View source of this and subsequent
linked page to see HTML
Title
Tag
Header tags
Block Level vs. inline Elements
Example of block level (always displayed on new line): <P> and <div>
Example of inline (displayed in current line): <b>text</b>
New
Paragraph
tags
Break tag : see source or < /br>
XHTML version
Text Bold or Italic
Test formatting
bigger
vs. smaller than surrounding text
monospaced font
Preformatted Text
|||||||||
---------
| @ @ |
| | |
| <---> |
---------
Saving web pages:
It is a good idea to save your web pages as a lowercase name without any spaces.
Always save html web pages with either the
".html" or ".htm" suffix.
Keep copies on your hard drive or other storage device
If your site becomes complicated, save in directories with sub directories.
Mimic directory structure on your local hard drive.
Links
Relative Link,
Absolute Link
Opening Link in New Window
Email link
Linking to an anchor within a page