Home arrow HTML arrow Page 2 - HTML Formatting and Colors
HTML

HTML Formatting and Colors


In our last tutorial we left off discussing some basic HTML formatting. In this episode we will continue our discussion of formatting and get into working with Entities. Thereís a lot to cover, so letís get busy.

Author Info:
By: James Payne
Rating: 5 stars5 stars5 stars5 stars5 stars / 8
January 15, 2008
TABLE OF CONTENTS:
  1. · HTML Formatting and Colors
  2. · Quotation, Acronyms, And More
  3. · Writing Backwards
  4. · Handing Out Citations
  5. · Background
  6. · Color Code Chart

print this article
SEARCH DEVARTICLES

HTML Formatting and Colors - Quotation, Acronyms, And More
(Page 2 of 6 )

Sometimes when you are working with text you will need to abbreviate a word. HTML provides you with a way to do this. You guessed it, it's the abbreviation tag <abbr>.


<html>

<body>


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

</body>

</html>

The above code will display the word Mr. T by itself on a page. When the user hovers over the word UN, a small pop-up caption appears displaying the words, "Mister T".

Acronyms

Acronyms work in the same way as abbreviations. If you wanted to use the acronym for World Wrestling Entertainment, or WWE, you could do this:


<html>

<body>


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


</body>

</html>

Again, the acronym WWE would be displayed on the page and when the user hovered over the word a pop-up caption would read: World Wrestling Entertainment.

Address

When writing an address in HTML you can use the address tag <address>:


<html>

<body>


<address>

James Payne<br />

2020 Yo Mama's House<br />

YoMama, Florida<br />

USA

</address>


</body>

</html>

This would display:

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


blog comments powered by Disqus
HTML ARTICLES

- Does HTML5 Need a Main Element?
- Revisiting the HTML5 vs. Native Debate
- HTML5: Not for Phone Apps?
- HTML5 or Native?
- Job Hunting? Freelancer.com Lists This Quart...
- HTML5 in the News
- Report: HTML5 Mobile Performance Lags
- The Top HTML5 Audio Players
- Top HTML5 Video Tutorials
- HTML5: Reasons to Learn and Use It
- More of the Top Tutorials for HTML5 Forms
- MobileAppWizard Releases HTML5 App Builder
- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials