Less prevalent styles can be inserted through the integrated text editors
or by hand. All the techniques covered in this section can be applied to dynamically inserted text.
Depicting various styles
HTML contains two types of style tags that are philosophically different from each other: logical tags and
physical tags. The physical tags describe what text looks like; these include tags for bold, italic, and underlined
text. HTML??™s logical styles denote what the text represents (such as code, a citation, or something
typed from the keyboard) rather than what the text will actually look like. The eventual displayed appearance
of logical styles is up to the viewer??™s browser.
Logical styles can be described as structural. They are useful when you are working with documents from
different sources??”reports from different research laboratories around the country, for instance??”and you
want a certain conformity of style. If you are trying to achieve a particular look using logical styles, you
should consider using the Cascading Style Sheets feature instead of, or in addition to, logical styles. You can
apply logical style tags and then use Cascading Style Sheets to define how that style will look when viewed
in a browser.
The styles that can be applied through regular HTML are just the tip of the iceberg compared
to the possibilities available using Cascading Style Sheets.
Pages:
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588