HTML and CSS Reference
In-Depth Information
Figure 1-20
Adding a block quote
3. Save your changes to the file, and then reload jprop.htm in your Web browser.
Figure 1-21 shows the revised page with the quoted material.
Figure 1-21
Block quote in the Web page
quoted paragraphs
are indented in
the page
Note that the customer quote also included three paragraph elements nested within
the blockquote element. The indentation applied by the browser to the block quote was
also applied to any content within that element, so those paragraphs were indented even
though browsers do not indent paragraphs by default.
Marking an Address
Dave wants to display the company's address at the bottom of the body of his page.
Contact information such as addresses can be marked using the address element, which
uses the syntax
<address> content </address>
where content is the contact information. Most browsers render addresses in italic.
You'll use the address element to display the address of the J-Prop Shop.
Search WWH ::

Custom Search