BACK TO INDEX
The ebook is about "XHTML in easy steps" by Mike Mcgrath
-
Introducing XHTML
-
Head information
- Body
content
- Adding style -
- selectors -Cascading
StyleSheets are used to build the rules which browser
use to display the content of the page. Each rule
starts with the 'selector', then inside a set of curly
brackets '{}', the rule parameters. view the code and
page view of
colors.html
and colors.css
- class - All elements can optionally
include these core attributes; title, class, id. The
title is the name shown by the browsers during mouseover.
The class and id are used to identify specific elements
in a css. Defining a class rule allows that rule to apply
to all elements with that class. Prefix the selector name
with a dot character to make a class rule. View the code
and page view of
class.html
and class.css
- identity - Prefix the selector name with a # hash
character to make a id rule. View the code and page view
of id.html
and id.css
- spans - Section of text, or even one
character, can be defined by the span & /span tags. All
elements can optionally include the core attributes;
title, class, id. This
example
shows a use.
- efficiency - pick class names that are easy to use.
- colors - always use the #hash character before any
rgb color hex number
- 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.