0% found this document useful (0 votes)
6 views

Computer

Uploaded by

dsharma.ka
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Computer

Uploaded by

dsharma.ka
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

HOLIDAY HOMEWORK

INTRODUCTION
TO HTML
NAME – KARTIK SHARMA
CLASS – X B
ROLL NO. – 42
ACKNOWLEDGEM
ENT
WOULD LIKE TO EXPRESS SPECIAL THANKS
OF GRATITUDE TO MY TEACHER MOHIT SHAR
WHO GAVE ME THE GOLDEN OPPORTUNITY TO D
THIS WONDERFUL PROJECT .
HIS PROJECT HELPED ME A LOT TO STUDY ABOU
THE INTRODUCTION TO HTML .
HTML
HTML stands for Hypertext
Markup
Language.
Structure of HTML
<HTML>
<HEAD>
<TITLE>Scholars Pride </TITLE>
</HEAD>
</HTML>
Saving extension of HTML files are .HTML
Features of HTML
HTML is neither a word processing tool n
a programming language rather it is a
markup Language .
TML is a platform independent language
TAGS
Tags refer to the code of instructions tha
are used in markup language like HTML
perform an action .
There are two types of Tags –
1. Container Tag
2. Empty Tag

Container Tag are those tags which are


used in pairs are called Container Tag .
has an opening and closing tag .
Example –
<HTML>, <TITLE>, <HEAD>
mpty Tag are those tags which are used
ingle that means not in pairs . Such tags
ot have any ending tab . Example of emp
ags are – <HR> , <BR>.
Body Tag
Body tag specify the main content of a
documents .
Attributes
Attribute refers to additional features tha
can be added with the tag , to apply or t
change and inhence the appearance of
different parts of a web Page
Color Attribute and Font Tag
This is a container tag . It is used to se
the text color, text size and type face
an HTML page.
The color attribute of the font tag is us
to set the color of the text which may b
of any font size.
<html>
<head>
<title>SP</title>
<body>
<font face=“Arial”>Scholars Pride
</font>
</body>
</head>
</html>
Heading Tag
Heading Tags are container tag . The
heading tag start from H1 to H6 that
are used to add heading in the HTML
document .
<html>
<head>
<title>SP</title>
<body>
<h1>Scholars Pride</h1>
<h2>Scholars Pride</h2>
<h3>Scholars Pride</h3>
<h4>Scholars Pride</h4>
<h5>Scholars Pride</h5>
<h6>Scholars Pride</h6>
</body>
</head>
</html>
OL stands for order list .
<html>
<head>
<title>
<body>
<OL type=“A” Start=“S”>
<LI>IT Lab</LI>
<LI>Physics Lab</LI>
UL stands for unorder list . UL is used
when we display a list in bullets inste
of numbering then we will use unord
list .
<html>
<head>
<title>
<body>
<UL>
<LI>IT Lab</LI>
<LI>Physics Lab</LI>
Comments
Comments are used to add remarks to t
program created in any language .
The comments are not executed by the
compiler or browser of the program but
displayed in the source program as they
are .
SOME CODING ARE –
<HTML>
<HEAD>
<TITLE>START ATTRIBUTE</TITLE>
</HEAD>
<BODY>
<OL START=“4”>
<LI>Six</LI>
<LI>Seven</LI>
<LI>Eight</LI>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>Use of Nesting lists</TITLE>
</HEAD>
<BODY bgcolor=“Red”>
<FONT SIZE=“5”>
<UL TYPE=“SQUARE”>
<B><LI>GENDER</B>
<OL>
<LI>Male</LI>
<LI>Female</LI>
<LI>Transgender</LI>
</OL>
</LI>
<B><LI>Age</B>
<OL TYPE=“a” START=“3”>
<LI>Less than 10</LI>
<LI>Greater than 20</LI>
<LI>Less than 40</LI>
</OL>
</LI>
</UL>
</FONT>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>UNORDERED LISTS</TITLE>
</HEAD>
<BODY>
<H2><I><Problems that persist in our
Society</I></H2>
<FONT FACE=“Arial” SIZE=“5”
COLOR=“Blue”>
<UL TYPE=“Disc”>
<LI>UNEMPLOYMENT</LI>
</UL>
<UL TYPE=“Disc”>
<LI>Lack of education</LI>
</UL>
<UL TYPE=“Disc”>
<LI>Poverty</LI>
</UL>
</FONT>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>Subscript Superscript </TITLE>
<BODY>
<H3>Chemical Equation (SUBSCRIPT)
</H3><P>
<B>C + O<SUB>2</SUB> = CO<SUB>
2 </SUB> </B>
<HR>
<H3>Mathematical Formula
(SUPERSCRIPT) </H3><P>
<B>(A+B)<SUP>2</SUP> = A <SUP>
2 </SUP> + B <SUP> 2 </SUP> + 2AB
</B>
</BODY>
</HTML>

You might also like