Home arrow HTML arrow Page 3 - 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 - Writing Backwards
(Page 3 of 6 )

Another way to format text is to write it backwards. Maybe the Mirror People of Relectionon 8 are visiting Earth and you want to ensure they can read what you have written on your web page:


<html>

<body>


<p>

Using the bdo tag below, I will write the phrase "I will take you to our leader" in reverse.

</p>


<bdo dir="rtl">

I will take you to our leader

</bdo>


</body>

</html>

This will result in the following:

  Using the bdo tag below, I will write the phrase "I will take you to our leader" in   reverse.

  redael ruo ot uoy ekat lliw I

Long and Short Quotes

If you want to quote something an author or intelligent celebrity like Paris Hilton has said, you can use the long and short quotes:


<html>

<body>


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

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


</body>

</html>

The above would print out the following:

  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

The long quote occurs with the <blockquote> tag, while the short quote utilizes the <q> tag.


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 10 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials