Pages

Wednesday, December 8, 2010

The Blockquote Element




The blockquote element provides a long quotation from the work or review of other people. The blockquote element indents a block of text and set off longer quotations.

 

Listed below are the most common attributes you can use for this element:
  • cite - provides the Uniform Resource Locator (URL) of th original source.
  • class - provides the class or classes of the blockquote element. This attribute is used ti identify the name of the style class or classes to be used for rendering.
  • id - provides a unique name for the blockquote element.
  • lang - provides the language in which the enclosed content is coded.
  • style - provides a cascading style sheet (CSS) properties to the blockquote element.
  • title - provides a text title for the blockquote element. Most web browser displays the value of the title as a "tooltip".

Here's an example on how to use the <blockquote> element:

 <!DOCTYPE html PUBLIC  "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

      <head>             
          <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />

            <meta name="keywords" content="blog, info matters" />            
            <title>the BLOCKQUOTE element</title>        
       </head>
    
       <body>
              <h1>
                    the BLOCKQUOTE element
              </h1>
                An article from the Oracle Magazine says:
              <blockquote>
                      <p>
                       Architect finds that security is a key business enabler. Making better-informed decisions posible.
                      </p><p>
                       For Ho, a great security architect needs to understand a company's business and its challenges. "Without thatbasic understanding, you run the risk of having a mismatch between your knowledge of security strategy and the needs of the business." she says.
                 </p>
           <blockquote>
                   </body>
              </html>






0 comments:

Post a Comment