HTML-Hypertext Markup Language
[Link]:-
HTML is a document layout and hyperlink
specification language i.e. a language used to
design a layout of a document and to specify the
hyperlinks.
HTML tells the browser how to display the contents
of hypertext.
HYPERTEXT :-
It is a document that consists of text , graphic
images, audio and video tracks, and most
importantly, dynamic links to related files. These
dynamic links are called hyperlinks.
WRITING HTML DOCUMENT STRUCTURE:
HTML is made up of elements or tags and
attributes, which work together to identify
document parts and tell browser how to display
them.
All HTML tags are contained with angle
brackets{<>} e.g. <HEAD> or <html>,this
means html is not case sensitive.
HTML DOCUMENT STRUCTURE :
<html>
<head>
<title>
</title>
</head>
<body>
</body>
</html>
CONTAINER AND EMPTY ELEMENTS:
CONTAINER ELEMENTS :
This type of html elements requires pair tags
e.g. <head> ,</head> etc.
EMPTY ELEMENTS :
This type of html documents just requires
a starting tag and not an ending tag.
e.g.<BR> ,<BASE>,<BASEFONT>,
<HR>, <IMG>, <LINK> etc.
<HR> inserts a horizontal rule
<BR> breaks a line
HTML TAG STRUCTURE:-
A tag attribute value , if any , is given after
the equal sign(=), in quotes generally after
the attribute name.
e.g.
<A href=”http//[Link]/yellowpages">
If the attribute value is a single word or number,
then u can omit quotation marks.
e.g.
<body bgcolour = red>