Intro Web Programming
Intro Web Programming
Features of HTML:-
HTML is a Non-Procedural Language.
HTML is Not Case Sensitive Language.
HTML is Browser Development Language
as well as Interpreter Language.
Tags In HTML
Introduction:-
Tag is a command in the HTML.
Tag is reserve word enclosed in the
angular braces ( <, and >).
Categories Of Tags:-
Paired Tags Ex: <HEAD> ------ </HEAD>
Unpaired Tags Ex: <IMG>, <BGSOUND>
Structure of HTML Program
HEADER SECTION
BODY SECTION
FOOTER SECTION
NOTE:-
Program identifies Header and Body
Sections only.
The Footer Section is treated as below of
the <HEAD> and <BODY> TAGS.
Syntax Of HTML Program
<HTML>
<HEAD>
- Paired Tag to refer HEAD section
</HEAD>
<BODY>
- Paired Tag to refer BODY section
</BODY>
</HTML>
Program Development in HTML
Steps:-
Program is written in text editors and
save with .html extension.
Interpret the page and Open in Browser.
Tools:-
Notepad editor
Front Page editor
Visual InterDev tool
VB script DHTML project
Introduction To Browser
Browser is divided into TWO areas.
These areas are
Non-Client Area
Client Area
Note:-
Non-Client area is developed in the
<HEAD> tag
Client area is developed in the <BODY>
tag.
<HEAD> Tag
In <HEAD> tag, <TITLE> tag is used
to add the title to a web page.
Its Syntax is
<TITLE>text</TITLE>
Ex:
<TITLE>WEB PAGE</TITLE>
<BODY> tag
Body tag has five attributes. They are
BGCOLOR
This is used to set the background color .
Syntax is
<body bgcolor=“#value”>
or
<body bgcolor=“color name”>
NOTE:-
Its range is ‘000000’ to ‘FFFFFF’
1st 2 digits represents RED color
Next 2 digits represents GREEN color
Last 2 digits represents BLUE color
<BODY> Tag (Continued…)
Text:-
This is used to set the color for all the text in the
web page.
Its syntax is
<body text=“value”>
or
<body text=“color name”>
Example is
<body bgcolor=“blue” text=“0F0F0F”>
<H1>WEB LOGIC</H1>
</body>
<BODY> Tag (Continued…)
BACKGROUND:-
This is used to set a picture as a background.
Its syntax is
<body background=“file name with
path”>
Note:-
Background is strong attribute.
Bgcolor is week attribute.
When bgcolor, background are used, picture is set
as background.
Types Of Tags
Heading Tags Multi Media Tags
Text Format Tags Frame Tags
Paragraph Table Handling
Alignment Tags Tags
Font Tags Linking Tags
Listing Tags Input Handling
Tags