WPD Experiment All - New
WPD Experiment All - New
Exp 1 : Q1. Create a webpage to display name of your college and save the
page with your name.
Program :
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
Exp 1 : Q2. Create a webpage to display the name of any IT Company you know
and save the page with your roll. No.
Program :
<!DOCTYPE html>
<html>
<head>
</head>
</html>
Experiment 2 :
Exp2 : Q1. Write HTML code to show the following output.
Program :
<html>
<head>
<br><br><br><br>
</body>
</html>
Experiment 3 :
Exp 3 : Q1. Create a webpage using block-level tags. (Part 2)
Program :
<html>
<head>
</head>
<body>
<center><h1>IF Department</h1></center>
<pre>
</pre>
<blockquote>
F.Y
S.Y
T.Y
</blockquote>
<address>
siot.org.in
</address>
</body>
</html>
Experiment 4 :
Exp 4 : Q1. Create a webpage using text level tags and special characters in
HTML.
Program :
<html>
<head>
</head>
<body>
One <sub>particular </sub>book which is recommended reading is <u> "The street<br> Lawyer"</u> by <u>
John Grisham</u>. This book is about a lawyer who
<p>
<br> realizes the harsh existence of homeless</strike>.<u> The street lawyer</u> is a <br><b> great </b>
book. It is <i></b> well written</b></i> and <i><b> interesting</i></b>. Other books by <sup> John<br>
Grisham</sup> include <u> The firm </u> & <u> The Pelicam Brief </u>, and Client</u>.
</body>
</html>
<html>
<body>
<h2>Welcome To GeeksforGeeks</h2>
<!--Text in Strong-->
<strong>Hello Geeks</strong>
<br>
<!--Text in small-->
<small>Hello Geeks</small>
<br>
<!--Text in Highlight-->
<mark>Hello Geeks</mark>
<br>
<!--Text in Bold-->
<p>
<b>Hello GeeksforGeeks</b>
</p>
<br>
<!--Text in Emphasize-->
<p>
<em>Hello GeeksforGeeks</em>
</p>
<br>
<!--Text in Highlight-->
<p>
<mark>Hello GeeksforGeeks</mark>
</p>
<br>
<!--Text in Superscript-->
<p>Hello
<sup>GeeksforGeeks</sup>
</p>
<!--Text in Subscript-->
<p>Hello
<sub>GeeksforGeeks</sub>
</p>
<br>
<!--Text in small-->
<p>
<small>Hello GeeksforGeeks</small>
</p>
<br>
<p>Hello GeeksforGeeks</p>
<!--Text in strike-->
<p> <strike>Hello GeeksforGeeks</strike> </p>
<br>
<p>Hello GeeksforGeeks</p>
<!--Text in Delete-->
<p> <del>Hello GeeksforGeeks</del> </p>
</body>
</html>
Experiment 5 :
Exp 5 : Q1. Create a webpage using different types of lists in HTML – part 1.
Program :
<html>
<body>
<ul> <li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Raddish</li>
</ul>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Black Tea</li>
<li>Green Tea</li>
<li>China</li>
<li>Africa</li>
</ol>
</ol>
<li>Milk</li>
</ol>
<dd>HTML</dd>
<dd>HTTP</dd>
</html>
Experiment 6 :
Exp 6 : Q1. : Create a webpage to apply anchor tag for linking web page.
Procedure 1 : Linking one webpage with another webpage.
Program :
<html>
<head>
<body>
</body>
</html>
Second Webpage :
Program :
<html>
<title>Experiment 6</title>
<body>
</body>
</html>
Procedure 2 : Procedure for linking within document.
Create a bookmark with the id attribute :
Step 1 : Create a webpage as follows :
Program :
<!DOCTYPE html>
<body>
<h2>Introduction of HTML</h2>
<h2>Concept of Website</h2>
<h2>Concept of URL</h2>
<h2>Images in HTML</h2>
<h2>Tables in HTML</h2>
<h2>Hyperlink in HTML</h2>
<h2>HTML list</h2>
<h2>HTML headings</h2>
<h2>HTML paragraphs</h2>
<h2>HTML frame</h2>
</body> </html>
<!DOCTYPE html>
<body>
<p>
The Department of Computer technology was established in the year 2006 .This is an exciting period for the
Computer Engineering profession as the rapidly changing technology creates many opportunities and
challenges.
Department of Computer Technology is prepared to meet the challenges and is playing a leadership role in
shaping the education of the 21st Century by providing unique educational and research opportunities in the
forefront of Computer Engineering, Information Technology and their applications.
<p>
</body>
</html>
<!DOCTYPE html>
<p>
Information Technology plays a vital role in helping organizations to achieve profitable results and keep
competitive forces in check. Keeping this objective in mind, young mindsets are educated here with full
academic rigor to convert them into effective IT professionals. With the help of best of the infrastructure and
the proper action plan, we train and educate engineers of outstanding ability who can become leaders in their
profession. We also associate closely with industrial leaders to help students in undertaking programs needed
in their respective domains. This sort of focused efforts definitely helped all our students from overall
development of the students.
<p>
</body>
</html>
<!DOCTYPE html>
<body>
<p>
Mechanical Engineering will be the most generously compensated career alternative. Mechanical Engineers
can work in the warm force industry, gas turbines industry, cooling and refrigeration industry, oil and gas
investigation and refining businesses, horticultural area, instructive division, flight organizations, transporting
businesses, airplane business, military, pharmaceutical, car industry, and numerous others. We Provide the
best education for Mechanical Engineering. That’s why We are amongst Recognized Diploma Colleges in
Mumbai for Mechanical Engineering.
<p>
</body>
</html>
Experiment 7 :
Exp 7 : Q1. : Create a webpage to link an external page of different web sites
like yahoo.com or google.com using URL and also link webpage to your E-Mail
ID. Apply tags to change the color of links.
Program :
<html>
<head>
<style>
</head>
<body>
<a href = " https://yahoo.com " target = " _blank "> HTML Images </a>
</body>
</html>
Experiment 8 :
Exp 8 : Q1. : Design a webpage using images and apply image formatting
attributes to it.
Program :
<html>
<head>
<title>Image Linking</title>
</head>
<body>
<img src = " C:\Users\Downloads\Flower.jpg " style="width: 600px; height : 436px" >
</body>
</html>
Experiment 9 :
Exp 9 : Q1. : Implement the image as a button or link and set an image as the
background.
<head>
<title>Practical 9 </title>
</head>
</body>
</html>
Exp 9 : Program : Webpage – 2
<html>
<head>
<title>Page1.html</title>
</head>
<body>
</body>
</html>
Exp 9 : Aim 2 : Implementing image as a background.
Exp 9 :Program :
<html>
<head>
<title>Practical 9 imgbg</title>
</head>
<body background="C:\Users\Downloads\Whiteflower.jpg">
</body>
</html>
Experiment 10 :
Exp 10 : Q1. : Create a webpage to implement frame tags.
<body>
<h1>Frame 1</h1>
</body>
</html>
<body>
<h1>Frame 2</h1>
</body>
</html>
<body>
<h1>Frame 3</h1>
</body>
</html>
Program : Webpage – 4 : Frame 4 :
<html>
<body>
<h1>Frame 4</h1>
</body>
</html>
<frameset cols="*,*,*,*">
</frameset>
</html>
Exp 10 : Aim 2 : Create a webpage to implement frame tags horizontally.
Program : Webpage – 1 : Frame 1 :
<html>
<body>
<h1>Frame 1</h1>
</body>
</html>
<body>
<h1>Frame 2</h1>
</body>
</html>
<body>
<h1>Frame 3</h1>
</body>
</html>
<body>
<h1>Frame 4</h1>
</body>
</html>
Program : Webpage – 5 : Main Frame
<html>
<frameset rows="*,*,*,*">
</frameset>
</html>
Exp 10 : Aim 3 : Create a webpage to implement frame tags horizontally.
Program : Webpage – 1 : Frame 1 :
<html>
<body>
<h1>Frame 1</h1>
</body>
</html>
<body>
<h1>Frame 2</h1>
</body>
</html>
<body>
<h1>Frame 3</h1>
</body>
</html>
<body>
<h1>Frame 4</h1>
</body>
</html>
Program : Webpage – 5 : Main Frame
<html>
<frameset cols="*,*">
<frameset rows="*,*">
<frameset cols="*,*">
</frameset>
</frameset>
</frameset>
</html>
Exp 10 : Exercise : Write HTML code to divide a webpage into 2 rows, and the second row
into 3 columns using frameset and its attributes and showing text links in the first column,
ordered list in the second column, and image in the third column.
Program : Webpage – 1 : Frame 1
<html>
<body>
<h1>Frame 1</h1>
</body>
</html>
<body>
<h1>Frame 2</h1>
</body>
</html>
<body>
<h1>Frame 3</h1>
</body>
</html>
<head>
</head>
<body>
</body>
</html>
<frameset cols="*,*">
<frameset rows="*,*">
<frameset cols="*,*">
</frameset>
</frameset>
</frameset>
</html>
Experiment 11 :
Exp 11 : Q1. : Write a program to create an HTML table having a border as
below or a similar table is given by the teacher implementing the above table
tags.
Program :
<html>
<head>
</head>
<h5 align = "center">Tables with border, vertical border, cell padding, cell spacing.</h5>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</html>
Experiment 12 :
Exp 12 : Q1. : Write a program to create an HTML table having a border as
below or a similar table is given by the teacher implementing the above table
tags.
Program :
1. Inline CSS :
<html>
<head>
<title>Inline CSS</title>
</head>
<body>
text-decoration:underline;">Example Heading</h1>
</body>
</html>
2. Internal CSS :
<html>
<head>
<style>
h1 {
color : red;
padding : 10px;
text-decoration : underline; }
</style>
</head>
<body>
<h1>Example Heading</h1>
</body>
</html>
3. External CSS :
i. HTML File : Program :
<html>
</head>
<body>
<h1>Example Heading</h1>
</body>
color: red;
padding: 10px;
text-decoration: underline;