Logical Tags
Contents<H# ...><EM><STRONG><INS><DEL><CITE><ADDRESS><SAMP><CODE><KBD><VAR><DFN> |
<H# ...> |
The original intent of HTML was to mark up text to indicate the purpose of each part of the
document. Text within the <H1 ...><CODE>
Although logical tags (also called Idiomatic Elements) indicate different types of information, most of them are usually rendered in one of just a few ways: italics, bold, or monospace (all characters the same width):
|
This is emphasized text This is cited text This is strong text |
This is sample textThis is code textThis is keyboard text |
So if logical tags just look like bold or italics, why use them at all? Why not just use
<B><B>
- Logical tags allow the browser to render that information in the manner most appropriate for that
browser. Text that should be emphasized (
) may be best emphasized in Windows with italics, and bold in Unix.<EM> - Logical tags help you, the author, keep track of what you are saying, without the distraction of
presentation. If you need to indicate someone's address, use
, knowing it will be presented in an appropriate manner.<ADDRESS>
Copyright 1997-2002 Idocs Inc.
