Professional Documents
Culture Documents
Aim: Create a HTML static web page which shows the use of different tags in that.
Program:
<html>
<head>
</head>
</body>
</html>
Output:
Practical No.2
Aim: Insert an image and create a link such that clicking on image takes user to other page.
Program:
<!DOCTYPE html>
<html>
<head>
<title>Image Hyperlink Example</title>
</head>
<body>
<p>Click following link</p>
<a href = "https://www.mmmut.ac.in" target = "_self">
<img src ="logo1.png" alt = "MMMUT Logo" border = "0"/>
</a>
</body>
</html>
Output:
Practical No.3
Program:
<!DOCTYPE html>
<html>
<head>
<title>HTML Unordered List</title>
</head>
<body>
<ul>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ul>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>HTML Definition List</title>
</head>
<body>
<dl>
<dt><b>HTML</b></dt>
<dd>This stands for Hyper Text Markup Language</dd>
<dt><b>HTTP</b></dt>
<dd>This stands for Hyper Text Transfer Protocol</dd>
</dl>
</body>
</html>
Output:
Ain: Use tables to provide layout to your HTML page describing your university infrastructure.
Program:
Output:
Practical No.5
Aim: Use frames such that page is divided into 3 frames 20% on left to show contents of pages, 60% in
center to show body of page, remaining on right to show remarks.
Program:
<html>
<frame src="content.html"><br>
<frame src="body1.html"><br>
<frame src="right.html">
</frameset>
</html>
Output:
Practical No. 6
Aim: Create a simple form that will show all the INPUT METHODS available in HTML.
Program:
<html>
<body>
<form>
Name:-<input type="text"><br><br>
Password:-<input type="password"><br><br>
Subject:-<input type="checkbox">Web<br>
<input type="checkbox">CD<br>
<input type="checkbox">CN<br>
State:-<select>
<option>UP</option>
<option>Bihar</option>
<option>MP</option>
</select><br><br>
</textarea><br><br>
Photo:-<input type="file"><br><br>
<input type="RESET">
<input type="SUBMIT">
Output:
Practical No. 7
Aim: Create a sample code to illustrate the Embedded, External and Inline style sheets for your web
page.
Program:
<html>
<head>
<style type="text/css">
color:green;
</style>
<body>
<h1>Web Technology</h1>
<p>Web twchnology refer to the means by which cmputer communicate with each
other using markup language and multimedia packages.</p>
</body>
</html>
Output:
Practical No.8
Aim: Write an XML example of given tree that demonstrates the creation of user-designed tags and
display it in a browser.
Program:
<bookstore>
<book category="cooking">
<author>Giada De Laurentiis</author>
<year>2005</year>
<price>30.00</price>
</book>
<book category="children">
<author>J K. Rowling</author>
<year>2005</year>
<price>29.99</price>
</book>
<book category="web">
<author>Erik T. Ray</author>
<year>2003</year>
<price>39.95</price>
</book>
</bookstore>
Output: