Home arrow HTML arrow Page 2 - HTML Tutorial

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

HTML Tutorial - Paragraph Tags, Attributes and Headings
(Page 2 of 12 )

Let us discuss about the <P> tag, which creates a new paragraph as shown in Listing 3.

Listing 3

<P> Many online services require you to enter information, such as your user name and password, to establish a connection. You can create a Dial-Up Networking script that provides this information automatically, so you do not have to type it each time you connect. To create a Dial-Up Networking script, use a text editor, such as WordPad or Notepad

It is not compulsory to close the <P> tag. But as said before, closing every tag is a good programming practice.

Understanding Attributes

Before proceeding further, it's important to learn the concept of attributes. Attributes are similar to properties. They are used to change the behavior of the content matter. In order to align the above paragraph text to right you have to make use of ALIGN attribute. All attributes in HTML are predefined. ALIGN attributes takes three values like Left, Center and Right. Applying the code <P ALIGN = "Center"> will start the paragraph from the Center position. You will come across many such attributes in the coming sessions.

Working with Headings

You can use headings to organize your text in various levels. There are five levels of headings in HTML as given below:

Listing 4

<H1>This is Heading Level - 1 </H1>
<H2>This is Heading Level - 2 </H2>
<H3>This is Heading Level - 3 </H3>
<H4>This is Heading Level - 4 </H4>
<H5>This is Heading Level - 5 </H5>

blog comments powered by Disqus

- 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 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials