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 / 4
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

TOOLS YOU CAN USE

advertisement
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

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



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