SunQuest
 
       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  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    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

    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself
    - Custom Buttons in HTML
    - Quick Web Page Menu
    - Maximizing and Restoring HTML Images with th...
    - Maximizing and Restoring HTML Images with th...
    - Handling Hyperlinks and Images in HTML
    - Quick Start with HTML
    - HTML Tips






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway