Prev | Current Page 496 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"


Also, ensure that you use the Print Preview functions of your browser test suite to thoroughly
test your print style sheet output and ensure that there are no nasty surprises for
visitors to your site. Ultimately, it??™s worth the extra hassle??”just amending the fonts and
page margins and removing images and page areas that are irrelevant to the printed version
of the site not only improves your users??™ experience, but also makes the site seem
more professional.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
396

A XHTML REFERENCE
This section of the reference guide details, in alphabetical order, generally
supported elements and associated attributes. This is not intended as an
exhaustive guide; rather, its aim is to list those elements important and
relevant to current web design. Archaic deprecated elements such as font
and layer are therefore ignored, as well as many attributes once associated
with the body element, but the guide includes still occasionally useful
deprecated and nonstandard elements and attributes such as embed and
target.
Standard attributes
Standard attributes are common to many elements. For brevity, they are listed in full here
rather than in the XHTML element table later in the chapter. For each element in the forthcoming
table, I simply state which groups of standard attributes are applicable to the element.
Core attributes
Attribute Description
class=classname Specifies a CSS class to define the element??™s visual appearance.


Pages:
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508