CBSE - VI - Computer Studies - Introduction To HTML
CBSE - VI - Computer Studies - Introduction To HTML
Some popular browsers that are used today are Internet Explorer,
Mozilla Firefox and Google Chrome.
6. HTML is not case sensitive. You can type tags in lower case or
upper case.
Tags contain
the title and
other header
information of
the web page.
This tag
contains the This tag is used to
entire give a title to the
content of web page. It
the web appears at the top
page. of the browser
window.
Select the location where you want to save the file and type the
name of the file with the .html extension.
Open the file location; you will see that the file has the icon of
your default browser. Double-click on it to open the file.
<BR>
You can also apply more than one formatting to a part of the text
using multiple tags.
For example to you can make a word appear both bold and
underlined.
<SUP>…</SUP> <SUB>…</SUB>
Output: Output:
(a+b)2+<(a-b)2 (a+b)2+<(a-b)2
CB/21-22 Introduction to HTML 19 of 30
Comment <!...> tag
Example:
<h1>HTML</h1><!--Example of the largest heading-->
<h6>HTML</h6><!--Example of the largest heading-->
Output:
HTML
HTML
<TAG_NAME= “VALUE”>
The <p> tag has an align attribute to specify the alignment of text in
the paragraph. The heading tag also has a align attribute.
Types of Attributes:
type : The type attribute specifies the type of numbering.
start : The start attribute specifies the number of the first
point in the list.
Example:
<ol type=’i’ start=5> Output:
<li>Ditvi v. Ditvi
<li>Rekha vi. Rekha
<li>Jaya vii. Jaya
<li>Aditya viii. Aditya
</ol>
CB/21-22 Introduction to HTML 27 of 30
Unordered List
In unordered list, the points are bulleted.
Types of Attributes:
type : The type attribute specifies the type of numbering.
Example: Output:
<ul type=‘circle’> • Ditvi
<li>Ditvi • Rekha
<li>Rekha • Jaya
<li>Jaya • Aditya
<li>Aditya
</ul>
CB/21-22 Introduction to HTML 28 of 30
Definition List
Example: Output:
<dl> Storage Devices
<dt>Storage Devices CD
<dd>CD Pen drive
<dd>Pen drive
</dl>
Example: Output:
List of main subjects
<OL>
<LI>English
<LI>Maths
<LI>Social Science
<UL>
<LI>History
<LI>Geography
</UL>
<LI>Science
</OL>
CB/21-22 Introduction to HTML 30 of 30