Anda di halaman 1dari 9

E-Commerce, Department of Information Technology

Experiment No. 1
TITLE- Write a program to create ordered and unordered list.

OBJECTIVE- To create a page in HTML using tags <OL>, <UL>

SOFTWARE REQUIREMENTS- Web Browser (Internet Explorer,


Mozilla), Notepad.

HARDWARE REQUIREMENTS- Intel P-IV, 256 MB RAM.

PROGRAM-
<html>
<head>
<title>My webpage</title>
</head>
<body bgcolor="red">
<h1 align=center>
<font color="pink" face="monotype corsiva">
HTML Tags
</font>
</h1>
<hr color="pink" size=2 width=300 noshade>
<font color="pink">
<ol type=1 start=1>
<li><b><u><font size=4>Chapter 1</font></b></u>
<ol type=a start=1>
<li><b>Topic 1</b>
<ul type="fillround">
<li>Topic 1.1</li>
<li>Topic 1.2</li>
</ul>
</li>
<li><b>Topic 2</b>
<ul type="fillround">
<li>Topic 2.1</li>
<li>Topic 2.2</li>
</ul>
</li>

Page-1 Swati Kansal,7040810939


E-Commerce, Department of Information Technology

</ol>
</li>
<li><b><u><font size=4>Chapter 2</font></b></u>
<ol type=a start=1>
<li><b>Topic 1</b>
<ul type="fillround">
<li>Topic 1.1</li>
<li>Topic 1.2</li>
</ul>
</li>
<li><b>Topic 2</b>
<ul type="fillround">
<li>Topic 2.1 </li>
<li>Topic 2.2</li>
</ul>
</li>
</ol>
</li>
</ol>
</font>
</body>
</html>

Page-2 Swati Kansal,7040810939


E-Commerce, Department of Information Technology

OUTPUT-

CONCLUSION- The usage of <OL> and < UL> tags has been
understood and implemented in web browser.

Page-3 Swati Kansal,7040810939


E-Commerce, Department of Information Technology

Experiment No. 2

TITLE- Write a program to demonstrate the different formatting tags in


HTML.

OBJECTIVE- To create a page in HTML using various formatting tags like


<B>, <I>, <U >, <TT>, <SUB>, <SUP>, <STRIKE>, <P>, <BR>,
<CENTER>

SOFTWARE REQUIREMENTS- Web Browser (Internet Explorer,


Mozilla), Notepad.

HARDWARE REQUIREMENTS- Intel P-IV, 256 MB RAM.

PROGRAM-
<html>
<head>
<title>
Formatting the HTML document
</title>
</head>
<body bgcolor=pink>
<h2 align=center>
<font size=5 face="Viner Hand ITC" color=red>
HTML tags
</font>
</h2>
<hr color=red size=2 width=250 noshade><p>
<font size=4 color=red>
The
<big> Hypertext Markup Language (HTML)</big> is an authoring language
used to create documents on the
<i> World Wide Web</i>.It lets you to create pages that can be read on the
Web. It was created by
<u> Tim Berners-Lee in 1989</u> at the European Laboratory for Particle
physics.<br>
<em> HTML is a structured language</em> that allows you to design Web
pages using

Page-4 Swati Kansal,7040810939


E-Commerce, Department of Information Technology

<strong> hyperlinks</strong>. It is made up of a set of instructions that turn


your text into a Web page document. These instructions tell a Web browser
the nature of document, that is in this case, a Web page;
<small> and the manner in which the information has to be
displayed</small>.<p>

<center>
<b><u>Use of sub tag</b></u><br>
H<sub>2</sub>SO<sub>4</sub>
</center>
<p>

<center>
<b><u>Use of sup tag</u></b><br>
7x<sup>3</sup>+3x<sup>2</sup>+2x+4
</center>
<p>

<center>
<b><u>Using Strikeout</u></b><br>
<tt>This is how <strike>strikeout</strike>is used.</tt>
</center>
</font>
</body>
</html>

Page-5 Swati Kansal,7040810939


E-Commerce, Department of Information Technology

OUTPUT-

CONCLUSION- The usage of HTML formatting tags has been understood


and implemented in Web browser.

Page-6 Swati Kansal,7040810939


E-Commerce, Department of Information Technology

Experiment No. 3

TITLE- Write a program to create a table using HTML tags.

OBJECTIVE- To create a web page using <table>, <td>, <tr> tags.

SOFTWARE REQUIREMENTS-Web Browser (Internet Explorer,


Mozilla), Notepad.

HARDWARE REQUIREMENTS- Intel P-IV, 256 MB RAM.

PROGRAM-
<html>
<head>
<title>Table</title>
</head>
<body bgcolor=yellow>
<center>
<h1 align=center>
<font color=brown face="Australian Sunrise" size=7>
Table
</font>
</h1>
<hr size=3 width=200 noshade color=brown><p>
<p>
<table border=5 bordercolor=brown bgcolor=pink>
<tr>
<td colspan=1>Merchandise</td>
<td colspan=3>Directive Instruction</td>
</tr>
<tr>
<td>Type</td>
<td>Product</td>
<td>Purpose</td>
<td>Industry ltd.</td>
</tr>
<tr>
<td rowspan=3>Joining tool</td>
<td>Management</td>
Page-7 Swati Kansal,7040810939
E-Commerce, Department of Information Technology

<td>Office Staff</td>
<td>Intel</td>
</tr>
<tr>
<td>Long range plans</td>
<td>Short term plans</td>
<td>Dell</td>
</tr>
<tr>
<td>Objectives</td>
<td>Policies</td>
<td>Satyam</td>
</tr>
<tr>
<td>Dividing Tool</td>
<td>Implement</td>
<td>Televisions</td>
<td>LG</td>
</tr>
</table>
</body>
</html>

Page-8 Swati Kansal,7040810939


E-Commerce, Department of Information Technology

OUTPUT-

CONCLUSION- The creation of a table using HTML tags has been learned
and also implemented in the above displayed web page.

Page-9 Swati Kansal,7040810939

Anda mungkin juga menyukai