Professional Documents
Culture Documents
HTML TAGS
Tags are the instructions that are embedded directly into the text of
the document. An HTML tag is a signal to a browser that it should do
something other than just throw text up on the screen. By
convention all HTML tags begin with an open angel bracket (<) and
end with an close angel bracket (>).
SINGULAR TAGS: The second type of the tag is the singular tag or
stand-alone tag. A stand-alone tag does not have a companion
tag. For example <BR> tag will insert a line break. This tag
does not require any companion tag.
Every HTML program has a rigid structure. The entire web page is
enclosed with <HTML> </HTML> tags. Within these tags
two distinct sections are created using the <HEAD> </HEAD>
tag and the <BODY> </BODY> tags. These sections are
described below.
DOCUMENT HEAD:
Information placed in this section is essential to the inner working
of the document and has nothing to do with the content of the
document. With the exception of the information contained
witHin the <TITLE> </TITLE> tags, all the information placed
within the <HEAD> </HEAD> tags is not displayed in the
browser. It is indicated in the title bar.
<HEAD>
<TITLE>……………… </TITLE>
</HEAD>
DOCUMENT BODY:
The tag used to indicate the start and end of the main body of the
textual information are:
<body>
----------
-----------
-------------
</body>
Page defaults like background color, text color can be specified as
attribute of the body tag. The attributes that the <BODY> tag
takes are:
1. BGCOLOR: Changes the default background color to whatever
color is specified with this tag. The user can specify the a color
by name.
2. BACKGROUND: specifies the name of the gif file that will be
used as the background of the document.
3. TEXT: changes the body text color from its default value to the
color specified with this attribute.
Example:
NOTE: ALL THE CODE IS WRITTEN INTO A NOTE PAD AND TO SAVE
IT WE USE THE FILE EXTENSION .HTML. FOR EXAMPLE:
SUKHI.HTML
TEXT FORMATTING
PARAGRAPH BREAKS:
Output:
Delta Engineering Pvt. Ltd. is a specialist manufacturer of wire and wire
products. DEPL established in Mumbai, India is ideally located for shipments
to any part of the world. The main items of manufacture, in collaboration
with Gulf Fencing Industry (GFI) include protector gabions and protector
fencing systems.
LINE BREAKS:
When text needs to start from a new line and not continue on the
same line(without skipping a blank line), the <BR> tag is used.
This tag simply jumps to the start of the next line.
For example:
Hello<BR> hoe are u<BR> welcome to my site.
Output:
Hello
How are u
Welcome to my site.
Document pages are usually divided into sections and sub sections ,
which needs to be emphasized. HTML provides certain heading
styles and horizontal rules, which helps break text into logical
sections with visual appeal.
TEXT STYLES:
BOLD: displays the text in bold face.
<B>----------</B>
ITALICS: displays the text in italics.
<I>-----------</I>
UNDERLINED: displays text as underlined.
<U>-----------</U>
CONTROLLING FONT SIZE AND COLOR:
All the text specified within the tags <FONT> and </FONT> will
appear in the font, size and color as specified as attributes of the
tag <FONT>. The attributes are:
LIST
TYPES OF LISTS
UNORDERED LIST(BULLETS)
An unordered list start with the tag <UL> and ends with </UL>.
Each list item starts with the tag <LI>. The attributes that can be
specified with <li> are
1. Type: specifies the type of the bullet.
Type= fillround will give a solid round black bullet.
Type=square will give a solid square black bullet.
For example:
Some of these products include:
<UL TYPE=FILLROUND>
<LI>FLOPPIES
<LI>HARD DISK
<LI>MONITER
</UL>
OUTPUT:
Some of these products include:
• FLOPPIES
• HARD DISK
• MONITER
ORDERED LIST:
An ordered list start with the tag <OL> and ends with </OL>. Each
list item starts with the tag <LI>. The attributes that can be
specified with <li> are:
For example:
Some of these products include:
<OL TYPE=”1” START=3>
<LI>FLOPPIES
<LI VALUE=7>HARD DISK
<LI>MONITER
</OL>
OUTPUT:
Some of these products include:
1. FLOPPIES
7. HARD DISK
8. MONITER
DEFINITION LIST:
Definition list values appear with in tags <DL> & </DL>.definition
lists consist of two parts.
1. Definition term: appears after the <DT>.
2. Definition description: appears after the <DD>
FOR EXAMPLE:
<DL>
<DT> KEYBOARD
<DD> AN INPUT DEVICE
<DT> PRINTER
<DD> AN OUTPUT DEVICE
</DL>
OUTPUT:
KEYBOARD
AN INPUT DEVICE
PRINTER
AN OUTPUT DEVICE
FEATURE OF MS-WORD:
Open File
Bold, Underline, and Italicize
Highlighting Text
Changing Font Color
Cut and Paste
Cutting and Pasting by Using the Standard Toolbar
Cutting by Using the Icon
Coping by Using the Icon
Pasting by Using the Icon
Using AutoText Cut and Copy
Inserting Text
To change to the Insert mode
To Overtype
MAIL MERGE
INSERTING CHARTS, IMAGES, GRAPHICS
UNDO AND REDO
SETTING LINE SPACING
FIND AND REPLACE
HEADER AND FOOTER