Other Block-Level Elements

 <  Day Day Up  >  


HTML has many other large tag structures, most notably tables and forms. Many other elements are available under Navigator and Internet Explorer, including frames , layers , and a variety of other formatting and structuring features. Because of their complexity, it makes sense to discuss these tags in later chapters. Tables are discussed in depth in Chapter 7, and forms are discussed in Chapter 12. Before moving on to inline elements, let's cover one element that's somewhat difficult to characterize: <address>.

address

The <address> tag is used to surround information, such as the signature of the person who created the page, or the address of the organization the page is about. For example,

  <address>  Demo Company, Inc.  <br />  1122 Fake Street  <br />  San Diego, CA 92109  <br />  858.555.2086  <br />  info@democompany.com  <br />  <  /address>  

can be inserted toward the bottom of every page throughout a Web site.

The <address> tag should be considered logical, although its physical rendering is italicized text. The HTML specification treats <address> as an idiosyncratic block-level element. Like other block-level elements, it inserts a blank before and after the block. It can enclose many lines of text, formatting elements to change the font characteristics and even images. However, according to the specification, it isn't supposed to enclose other block- level elements, although browsers generally allow this.



 <  Day Day Up  >  


HTML & XHTML
HTML & XHTML: The Complete Reference (Osborne Complete Reference Series)
ISBN: 007222942X
EAN: 2147483647
Year: 2003
Pages: 252
Authors: Thomas Powell

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net