Prev | Current Page 125 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

For one, it allows users with disabilities (using screen readers) to access
the full form of the words in question. But anyone using a visual web browser can access
Note that some web design applications??”notably, early versions of Dreamweaver??”
used the blockquote element to indent blocks of text, and this bad habit is still used
by some designers. Don??™t do this??”if you want to indent some text, use CSS.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
68
the information, too, because title attribute contents are usually displayed as a tooltip
when you hover your mouse over elements they??™re used on.
To further draw attention to an abbreviation or acronym, style the tag in
CSS (using a tag selector), thereby making all such tags consistent across
an entire website. The following code is an example of this, the results of
which are shown in the example to the right (including the tooltip triggered
by hovering over the abbr element, which has a title attribute).
abbr {
border-bottom: 1px dotted #000000;
background-color: yellow;
}
Elements for inserted and deleted text
The del and ins elements are used, respectively, to indicate deleted text and inserted text,
typically in a manner akin to the tracking features of word processing packages, although
they do not include the tracking functionality. The del element usually appears in strikethrough
format, whereas ins usually appears underlined. Both accept cite and datetime
attributes.


Pages:
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137