HTML
  Home arrow HTML arrow Page 4 - HTML Formatting and Colors
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

HTML Formatting and Colors
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2008-01-15

    Table of Contents:
  • HTML Formatting and Colors
  • Quotation, Acronyms, And More
  • Writing Backwards
  • Handing Out Citations
  • Background
  • Color Code Chart

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    HTML Formatting and Colors - Handing Out Citations


    (Page 4 of 6 )

    If you ever need to cite a text, you can do so with the citation tag <cite>:


    <html>

    <body>


    <cite> This is someone's long boring text I am citing. It has to look this way because usually anything you are citing is really boring. Weee... </cite>



    </body>

    </html>

    The print out of this code would be:

      This is someone's long boring text I am citing. It has to look this way because usually anything you are citing is really boring. Weee...

    Defining Definitions

    Let us suppose you created a website full of words and their definitions. And let us further suppose you were a child star named Webster. Could you still name your site Webster's Dictionary? If not, you could always name it Arnold's Dictionary. Whatchoo talkin' 'bout Willis?!?

    No matter what you named the site, you would still use the definition tag <dfn> as shown below:


    <html>

    <body>

    Willis' Dictionary

    <pre>Nerd:<dfn>(adjective) You</dfn></pre>


    </body>

    </html>

    This will result in:

      Willis' Dictionary

     Nerd:(adjective) You

    Here is a pretty table to remind you of what we just discussed:

     Tag

    What it Does

     Example

     Result

     <abbr>

    Used to create abbreviations

    <abbr title="Mister T">Mr. T</abbr>

    Will display Mr. T and when the user hovers over the text, it will say Mister T

    <acronym>

    Used to create acronyms

    <acronym title="World Wrestling Entertainment">WWE</acronym>

    Will display WWE and when the user hovers over the text it will display World Wrestling Entertainment

    <address>

    Used to create an address

    <address>

    James Payne<br />

    2020 Yo Mama's House<br />

    YoMama, Florida<br />

    USA

    </address> 

    James Payne
    2020 Yo Mama's House
    YoMama, Florida
    USA

    <bdo>

    Controls the direction of the text

    <bdo dir="rtl">

    I will take you to our leader

    </bdo> 

    redael ruo ot uoy ekat lliw I

    <blockquote> <q>

    Creates a long quote and a short quote

    <blockquote>

    From Childhood's hour I have not been

    As others were

    I have not seen

    As other saw

    I could not bring my passions from a common spring

    From the same source I have not taken</blockquote>

    <p align="center"><q>

    -Edgar Allen Poe

    </q> 

    This is how you make a long quotation, followed by a short quotation:

    From Childhood's hour I have not been As others were I have not seen As other saw I could not bring my passions from a common spring From the same source I have not taken

    -Edgar Allen Poe

    <cite>

    Creates a citation

    <cite> This is someone's long boring text I am citing. It has to look this way because usually anything you are citing is really boring. Weee... </cite> 

    This is someone's long boring text I am citing. It has to look this way because usually anything you are citing is really boring. Weee...

    <dfn>

    Creates a definition

    <pre>Nerd:<dfn>(adjective) You</dfn></pre> 

    Nerd:(adjective) You

    More HTML Articles
    More By James Payne


       · Thanks for dropping by. In this tutorial we discuss formatting and colors, working...
     

    HTML ARTICLES

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek