Tuesday 7, February 2012
Welcome Guest, Register | Login  
      Home    |    Tutorials    |    Free Ebooks    |    Free Scripts    |    Articles    |    Blog     |    Forum    |    About Us    |    Contact Us

Basic Tags

There are probably hundreds of HTML Tags like Tables, frames, images, lists, forms, and many more but the most important tags in HTML are tags that define headings, paragraphs and line breaks.

Headings
A heading in HTML is just what you might expect, a title or subtitle. There are six Headings tags.  The largest heading is defined with <h1> and the smallest heading is defined with <h6>. Here are examples of 6 tags

This is heading 1

This is heading 2

This is heading 3

This is heading 4

This is heading 5
This is heading 6
Each heading has a line break before and after each heading display. When you place a heading tag, your web browser automatically places a line break in front of beginning tag and after ending tag.

 

Paragraphs
Paragraphs are defined with the <p> tag. <p> tag places a blank line above and below the text of the paragraph.

First paragraph of the HTML document. First paragraph of the HTML document. First paragraph of the HTML document. First paragraph of the HTML document. First paragraph of the HTML document. First paragraph of the HTML document.

This is second paragraph. This is second paragraph. This is second paragraph. This is second paragraph. This is second paragraph. This is second paragraph. This is second paragraph. This is second paragraph.

This is third paragraph. This is third paragraph. This is third paragraph. This is third paragraph. This is third paragraph. This is third paragraph. This is third paragraph.

Paragraph Alignments
You can align your paragraphs by using following attributes.

Left Align:

<p align="left">Paragraph is left Aligned </p>

Center Align:
<p align="center">Paragraph is center Aligned </p>

Right Align:
<p align="right">Paragraph is right Aligned </p>

Justified
<p align="justified">Paragraph is justified</p>

Line Breaks

<br> tag is used to break a line. It is used when you want to break link but don't want to start a new paragraph.

Example :
First Line.<br>
Second Line.<br>

You have no need to close <br> tag. It can be used at any place in your web document. You can also use
as alternate of <br /> tag.
<br> has no end tag. It breaks the rule for XML based XHTML so we often use <br /> tag.

 
     
   
HTML Tutorial
 
  HTML Introduction
HTML Introduction
  First HTML Page
First HTML Page
  HTML Elements
HTML Elements
  Basic Tags
Basic Tags
  TAG Attributes
TAG Attributes
  Formatting
Formatting
  Character Entities
Character Entities
  HTML Links
HTML Links
  Lists
Lists
  HTML Images
HTML Images
  Tables
Tables
  HTML Frames
HTML Frames
  BGColor
BGColor
 
 
 
Web Designing Tutorials
  HTML Tutorial
HTML Tutorial
  DHTML Tutorial
DHTML  Tutorial
  CSS Tutorial
CSS Tutorial
  XHTML Tutorial
XHTML Tutorial
 
Programming Languages Tutorials
  C Language Tutorial
C Language Tutorial
  C++ Tutorial
C++ Tutorial
  Java Language Tutorial
Java Language Tutorial
  Data Structure Theory Tutorial
Data Structure Theory Tutorial
 
Server Side Scripting Tutorials
  PHP Tutorial
PHP Tutorial
  SQL Tutorial
SQL Tutorial
  ASP Tutorial
ASP Tutorial
 
Client Side Scripting Tutorials
  JavaScript Tutorial
JavaScript Tutorial
  VBScript Tutorial
VBScript Tutorial
 
 
 
POPULAR E-BOOKS
 
Download Secret Ultimate Supertip Ebook Secret Ultimate Supertip
   
Download 10 Website Traffic Tips  Ebook 10 Website Traffic Tips
   
Download The Greatest Marketing Secrets of the Ages Ebook The Greatest Marketing Secrets of the Ages
   
Download Article Marketing Success Ebook Article Marketing Success
   
Download 5 Minutes Forex Trading Strategy Ebook 5 Minutes Forex Trading Strategy
   
 
Studiesinn.com © 2012 All Rights Reserved.
Website Designed & Developed by TechXprtz