Home arrow HTML arrow Page 11 - HTML Tutorial
HTML

HTML Tutorial


This article is the September contest winner. The author provides a basic tutorial of HTML, with code samples illustrating headings, lists, background colors, using the Frame tag and more.

Author Info:
By: Anand Narayanaswamy
Rating: 3 stars3 stars3 stars3 stars3 stars / 73
October 11, 2004
TABLE OF CONTENTS:
  1. · HTML Tutorial
  2. · Paragraph Tags, Attributes and Headings
  3. · Using Lists
  4. · Indents and Links
  5. · Working with Images
  6. · Working with Tables
  7. · Working with Frames
  8. · Using Forms, Text, Buttons, and Combo Box
  9. · Text Area, Check Box, and Radio Buttons
  10. · Additional Tags
  11. · Drawing Lines, SUB and SUP Tags
  12. · Test Yourself Questions

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
HTML Tutorial - Drawing Lines, SUB and SUP Tags
(Page 11 of 12 )

}

You can draw a Horizontal line by making use of <HR> tag. Its attributes include bgcolor and size. Listing 27 shows its usage:

Listing 27

<HR bgcolor = “yellow” size = “10”>
Using Address tag

Suppose, if you want to give your contact information on a web page, you can make use of <ADDRESS></ADDRESS> tag. It displays the texts in its own font. Hence, there is no need for you to format the texts separately.

Listing 28

<ADDRESS>Microsoft Inc, Washington, USA</ADDRESS>

Using <SUB> tag

This tag stands for subscript. The basic functionality of this tag is that it lowers the texts between the tag.

Listing 29

H<SUB>2</SUB>O

Using <SUP> tag

This tag stands for superscript and it raises the texts between the tag as shown in Listing 30. 

Listing 30

2<SUP>3</SUP> = 8

Applying Fonts

You can change the appearance of your text using <FONT> tag. Its attributes are face, size and color. Face attribute accepts font names like Arial, Courier, Verdana and etc. Size accepts values from 1 to 7 while color specifies the font color.

Listing 31

<FONT face = “Verdana” size = “3” color = “blue”>
This text will display in blue color
</FONT>

 


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