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

- 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