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: 4 stars4 stars4 stars4 stars4 stars / 77
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

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

- 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