HTML and CSS Reference
In-Depth Information
design. They're generally hidden via CSS but visible when
viewed on cHTML cell phone browsers, which only support very
basic CSS and don't get the visual design (and with it the visual
separation of sections).”
Our advice: use sectioning content and headings instead with
CSS for pretty dividers.
The <small> element has been completely redefi ned, from sim-
ply being a generic presentational element to make text appear
smaller to actually represent “small print,” which “typically fea-
tures disclaimers, caveats, legal restrictions, or copyrights. Small
print is also sometimes used for attribution, or for satisfying
licensing requirements.”
If the whole page is a “legalese” page, don't use <small> .
In that case, the legal text is the main content, so there is no
need to use an element to differentiate the legalese. It's only
for short runs of text. <small> has no bearing on <strong> or
<em> elements.
Removed elements
Some elements you may know from HTML4 have been made
completely obsolete in HTML5, such as <applet> (use <embed>
instead), <big> , <blink> , <center> , <font> , and <marquee> . They
will not validate and must not be used by authors. Frames are
gone (but <iframe> remains). Good riddance.
HTML5 browsers must still render these dear departed ele-
ments, of course, as there are plenty of them still out there
in the wild. But you must avoid them as if they were taran-
tulas, zombies, man-eating tigers, plutonium sandwiches, or
Celine Dion songs.
Search WWH ::

Custom Search