ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing

ExpertRating Home
ExpertRating Benefits
Recommend ExpertRating
Suggest More Tests
Privacy Policy
FAQ
Login
 
XHTML Tutorial - Index
XHTML Tutorial - Introduction to XHTML
XHTML Tutorial - Formatting
XHTML Tutorial - Links
XHTML Tutorial - Images
XHTML Tutorial - Forms
XHTML Tutorial - Tables
XHTML Tutorial - Frames
XHTML Tutorial - Style Sheets
XHTML Tutorial - Advanced Tags
     

 
Online Personal Trainer Certification
Personal Trainer Certification (Spanish)
Six Sigma Certification
Find a Personal Trainer
Project Management Certification
Six Sigma Certification
Six Sigma Black Belt Certification
Master Black Belt Certification
Six Sigma Green Belt Certification
Life Coach Certification
Lean Management Certification
Lean Six Sigma Certification
First Aid Certification
CPR Certification
Yoga Certification
Aerobics Certification
Pilates Certification
Business Analyst Certification
SEO Certification
Online Business Writing Course & Certification
Makeup Artist Certification
Baby Sitting Course & Certification
Time Management Certification
Health Club Management Certification
Medical Coding Certification
Medical Billing Certification
Business Analysis Course
Master Trainer Certification
Total Quality Management Certification
Kaizen Certification
Creative Writing Certification
Event Management Certification
Test Search by Job Title
Administrative Assistant Certification
Virtual Assistant Certification
  All Online Courses
   

   
   
   
   
   
   

   
  Home > Courses, Tutorials & eBooks > XHTML Tutorial > Formatting
 

Back

Next

XHTML Tutorial - Formatting

   
                                                                             Page 3 of 5
 

Abbreviations Tag

The abbreviations tag is written as <abbr>. It indicates an abbreviated form like “inc”, USA”, etc. All abbreviations should be put under the <abbr> tag. This tag is not practically in use, as it does not do any special formatting to the abbreviation.

 
Example
<abbr> UNO </abbr>
Output
UNO

Address Tag

The address tag is written as <address>. It usually defines the start of an address. All addresses, emails or signatures should be contained in the address tag. The address usually appears in italics.

 
Example

<address> Mickey Mouse <br/> Box 123 <br/> Disneyland</address>

Output

Mickey Mouse

Box 123

Disneyland

 

Blockquote Tag

The blockquote tag is written as <blockquote>. It defines the start of a long quotation. Quotations are always written within the blockquote tags. This tag generates a line break and white spaces before and after the text. It does not make any other formatting like making the text bigger or bolder or italicizing the text.

To validate the page as strict XHTML, a block-level element must be added around the text within the <blockquote> tag.

 
Example

<blockquote> <p> Don't walk behind me, I may not lead. Don't walk in front of me, I may not follow. Just walk beside me and be my friend.</p> </blockquote>

 

Output

Don't walk behind me, I may not lead. Don't walk in front of me, I may not follow. Just walk beside me and be my friend.

The following example illustrates the use of formatting Tags:

Example

<html>

<head>

<title> My bag of jokes </title>

</head>

<body>

 

<h1> I want to make you laugh</h1>

 

Hello, this is My Jokes website .<hr/>

 

<p>Now you will read some rib tickling jokes.<br/>

<b><i>These jokes are meant for people of all ages.

Some of them are good, they will have you in splits.</i></b></p>

<h2>Classic jokes.</h2>

<p><b> During their silver anniversary, a wife reminded her husband, “Do you remember that when you proposed to me, I was so overwhelmed that I didn't talk for an hour?"<br/> The hubby replied: "Yes, honey, that was the happiest hour of my life."</b></p>

 

<h2>Maths jokes.</h2>

<blockquote> If I had only one day left to live, I would live it in my statistics class, it would seem so much longer.</blockquote>

<strong> Variables like <var> X,Y,Z </var> are not used in this site.</strong><br/><hr/>

 

<address>Mickey Mouse <br/> Box 123 <br/> Disneyland </address>

 

</body>

</html>

 

This is how the web page looks :

 

     

 

 
     
Home  |  About Us  |  Privacy Policy  |  Site Map  |  FAQs  |  Contact Us
 
© ExpertRating 2015. All Rights Reserved.