Monday, August 17, 2009


<HTML> This element contains the head element and body elements of a document. It’s a basic structure element. It contents head element and body element or frameset element.

<HEAD> This element contents head section of document. Head must contain exactly one title element in addition it may contain script element, style element and Meta element as well as link element.

<TITLE> Creates document’s title. Every html documents requires a title. This element is a part of basic structure comes in head section.

<span style="font-weight:bold;">Structure of HTML:</span>




Other text and elements to be represent information using tag are place in body element



<BODY> This tag contain the body section of html document. It’s basic structure element

Background: to set a background image.

Bgcolor :- to set background color

Link: - to set hyperlink color.

Alink:- to set active hyperlink color. & Vlink:- to set visited hyperlink color.

<span style="font-weight:bold;">Example:</span>


<head><title>first small program </title></head>

<body bgcolor=’red’>

Good morning……friends….


<span style="font-weight:bold;">COMMENT:</span>

<!-- -->

Inserts comments into an html document that would not be displayed by a browser also used to hide style sheets and active scripts from older browsers.

No comments: