free classified ads and leads
domain website price


Some common html elements

Languages and Programming

Some common html elements and their attributes are given in the table below

 

Element

Attributes

Tags

Description

A

Href

<a>…</a>

This is called as the anchor element. Its is used to facilitate hypertext links.

Applet

Codebase,code, width,height, Hspace,vspace

<applet></applet>

It is used for embedding java applets in an html document

B

 

<b>……</b>

Any text enclosed within the tags is displayed as bold text.

Blockquote

 

<blockquote><blockquote>

It indents the text.

Body

Background bgcolor, text,link

<body>,.<body>

The body of the html document is enclosed within it. Using the attributes background and bgcolor you can specify and kind of background like image or color. The default text and hyperlink colors can be specified by using the text and link attributes.

CAPTION

ALIGN

<caption></caption>

It creates caption for table using the align attribute caption can be displayed at the top or bottom of a table.

Cite

 

<cite>.</cite>

It is used for quoting other’s work or titles.

Code

 

<code>.</code>

It is used to show computed code text strings.

Font

Size,color,face

<font>….</font>

It formats text with the specified font. The size attribute sets the size. The color attributes determines the color of the text and face attributes sets the type of the font.

Frameset

Cols, rows

<frameset></frameset>

It is used specify the position and layout of the frames.

Frame

SRC,NAME, NORESIZE

<FRAME>

IT IS USED OFR DEFING A FRRAME. THE SRC ATTRIBUTE is used to specify the target page. The name attributes is used to identify the frame. The no resize attribute is used to prevent resizing of the frames.

H1 H2 H3 H4 H5 H6

Align

<h1>..</h1> “ “ ” ’’ ”

It creates six dirrent levels of headings. By using the align attribute, you can align the heading to the headings to the left the center or the right of the browser screen.

Head

 

<head>…..</head>

It encloses the document header. It can enclose other elements like title and meta.

Hr

 

<hr>

It draws a horizontal line

Html

 

<Html>...</html>

It identifies the document a html.

I

 

<i>….</i>

It creates italicized text

Img

Src,alt,height,width, hspace,vspace

<img>.</img>

It inserts an image.

Li

 

<li>..</li>

It specifies a list item existing in a numbered or bulleted list.

Ol

Start,type

<ol>…..</ol>

It created a numbered list. The start option starts the list with the specified number. Using the type option, you can have different styles of the numbered list.

P

 

<p>..</p>

It crates a paragraph

Strong

 

<strong>…</strong>

It displays bold text

Sub

 

<sub>.</sub>

It displays text an subscript.

Sup

 

<sup>..</sup>

It displays text as superscripts.

Table

Border,width,cellspacing cellpadcding

<table>..</table>

It creates a table.

Td

 

<td>..</td>

It inserts information in table cells.

Th

 

<th>..</th>

It inserts a table header cell.

Title

 

<title>….</title>

IT inserts the title of the documents.

Tr

 

<tr>..</tr>

It inserts a table row.

U

 

<U>..</U>

Any text enclosed within the tag is underlined.

Ul

 

<ul>..</ul>

It crates a bulleted list.

Bookmark and Share




Gallery

Related Topics

Comments



Submit Reviews:


(Enter the characters seen on the image below.)



Promotional Ads

Advertisement

Packers and movers in Mohali
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Mohali

Submersible Sludge Pumps
18, shreenath Estate, cross road, nr. Nikol, nr. Sardar Patel Ring Road, Kathwada, Gujarat 382415
Ahmedabad

Bhakti Bird Proofing
House no.9479 durgamata tekdi vibhag, mahalaxmi nagar, City ambernath, Near durgamata temple. Pin Code-421501
Motilal Nagar Mumbai

Livonta Global Pvt.Ltd
1110, Colonnade, B/H Iscon Temple, Opp. Iscon BRTS Bus Stand
Iscon - Ambali Rd,
Ahmedabad

Brij Agnihotri & associates company secretaries
3454, 40D, Sector 40D, Chandigarh, 160036, India

JB Rock Bolts & SN BOLTS
10 A & B Industrial Area (at Vill. Nangal Jarialan)
Distt. Una Himachal Pradesh
Una

Govinda resorts Lonavala
Old Mumbai - Pune Hwy, Maval, Lonavala, Maharashtra 410405
Lonavla

Steelco Metal & Alloys
192 – Minara Mansion, Shop No.6, Sant Sena Maharaj Marg, 2nd Kumbharwada Lane, Mumbai, Maharashtra 400004
Mumbra Mumbai

Best Resorts in Dharamshala Amid the Misty Hills.
SATOBARI HILLS ROAD,MCLEODGANJ,
Dharamshala

Genius Global School
194 Anand Vihar Saproon, Solan, Himachal Pradesh
Ambala Cantt