buy domain website and hosting


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 Chandigarh
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Delhi

Maharaja Agrasen Hospital Super Speciality Hospital in Dwarka
H3VH+C7Q, Pocket 4, Sector 1 Dwarka, New Delhi 110075
Delhi

GET DIPLOMA IN DRESS DESIGNING| CONTACT-9810450615
A-100 3rd Floor, Mohan Garden, Nawada, opposite metro pillar no.747, near Uttam Nagar.
Delhi

PRIMARY TEACHER TRAINING(PTT)| SIPVS UTTAM NAGAR
A-100 3rd Floor, Mohan Garden, Nawada, opposite metro pillar no.747, near Uttam Nagar.
Delhi

Aplonis Healthcare
SCF-461, 1st floor
Motor Market, Sector-13,
Delhi

Jaggery Powder
431, Vijaya Lodge Building, Rangai Gowder Street, Town Hall, Coimbatore-641001, Tamil Nadu, India, Town Hall, Coimbatore-641001, Tamil Nadu, India
Coimbatore
Delhi

Self Drilling Anchor Bolt Systems
F-418 Office Block City Centre Mall Siliguri West Bengal - 734010
F-418 Office Block City Centre Mall Siliguri West Bengal - 734010
Delhi

Assured low-cost full body checkup at your home.
Mayur Colony, Kothrud
Pune
Delhi

HP Laptop Service Center in Dilshad Garden
197 B, Pocket F, Dilshad Gardenn Delhi,
Delhi

Interior A to Z
284/4, Chhatarpur Extension, Chhatarpur, New Delhi, Delhi 110074
Delhi
Delhi