Tuesday 07th of February 2012 05:24:25 AM
XHTML Guidelines & Benefits
XHTML is the standard markup language for web documents and the successor to HTML 4. Library projects must be authored in structural XHTML 1.0 Transitional.
The following topics provide all the information you need to create well-formed XHTML pages that validate and are accessible, and/or to convert old HTML pages to valid, well-formed, accessible XHTML:
- XHTML Guidelines
- The rules of XHTML as compared to HTML — an easy transition
- What is XML?
- A brief introduction to the foundation of XHTML
- XHTML Benefits
- The benefits of converting from HTML to XHTML
- XHTML Authoring Tips 'n Tools
- Simplifying the work process—includes tips on using Dreamweaver
- XHTML Accessibility Tips
- Making sure your pages can be read
This property has the advantage of being very compact, although thatbrevity introduces a few limitations. Before we worry about that,let's see how border is used. If you wantall H1 elements to have a thick, silver border,it's very simple. This declaration would be displayed as shownin Figure 7-49:
H1 {border: thick silver solid;}
The drawback with border is that you can only
- XHTML Validation
- Keeping your markup kosher
TIP
In Figure 6-1, the default foreground color is
black. That doesn't have to be the case, since users might have
The default value of font-style is, as we can see,normal. This refers to "upright"text, which is probably best described as "text that is notitalic or otherwise slanted." The vast majority of text in thisbook is upright, for instance.
That
navbar, then you need only add this rule:
#navbar A:link {color: yellow;}
This will change the color of hyperlinks within the navigation bar
without affecting other hyperlinks throughout the document.
6.1. Colors
There is really only one type of color in CSS, and that's
plain, solid color. If you set the background of a page to be
8.2.4. Block-Level Replaced Elements
Block-levelreplaced elements are also subject to a few differences in howformatting is handled. The most important is that replaced elementsare assumed to have an intrinsic height and width; for example, animage will be a certain number of pixels high and wide. Given this,if either height or width areset to auto for a replaced element, then the valuewill always evaluate to the intrinsic height or width of the element.Thus, if an image is 150 pixels wide, and its