BACK TO INDEX
The book is "XHTML in easy steps" by Mike Mcgrath
-
Introducing XHTML
-
Head information
- Body content -
- paragraphs - Most text in a
XHTML document must be in a 'p' or 'div' tag. Most
browsers put a line between two paragraphs.
-
divisions - Divisions are seperated from other elements
by a line break
- line breaks - Line breaks are still
handled with the 'br' tag, but since it is an single
empty element because it does not have a closing tag,
a forward slash is added at the end of the tag as in:
&ly;br/>.
- headings - Headings are also treated
the same as in html with h1 is the biggest and h6 the
smallest.
- characters - special characters can be
inserted into a XHTML document by placing the special
character code, shown in the ISO-8859-1 reference,
between the & and ; characters.
- qoutes - An added
feature for the q + /q and blockqoute + /blockqoute
tags is the cite attribute. With it you link to the
source of the qoute as in this
example.
- emphasizing - both the em and strong tags are used
in XHTML.
- preformatted - as well as the pre tag.
- address -
- code - The code, var (variable),
and samp (samples) tags are also available in XHTML.
- Advisory - The abbr tag is useful to denote
abbreviations and the acronym tag todenote acronyms.
the title= attribute can be added to both tags.The
definition of a term can be assigned to the title
attribute of a dfn tag/element. The term is contained
between the dfn + /dfn tags. The cite tag is treated
similarly.
- keyboard - When the user is required
to enter some data, the kbd tag is used. Normally
some text box will be set up with a submit button,
more in chapter #10.
- Adding
style
- Making
lists
- Building
tables
- Hyperlinks
and anchors
- Embedding
objects
- Using
frames
- Creating
forms
- Borders
and margins
- Displaying
content
- Stylish
text
-
Controlling backgrounds
- XHTML
Mobile Profile
?
PeterK of [email protected]
This page last revised on 29oct4
©2004 PNK ALL RIGHTS RESERVED.