Professional Documents
Culture Documents
CA Prac File
CA Prac File
1. Create a webpage that prints your name, set title as “This is a webpage” and print a message
and that when this page was created.
INPUT
<!DOCTYPE html>
<html>
<head>
<title>This is a webpage.</title>
</head>
</body>
</html>
PROGRAM-1: OUTPUT
PROGRAM-2
2. Create a webpage that contains a brief description about you and type subheadings
“qualification” “hobbies” “interests” “Future plans” and “Address for communication”. Apply
font and color styles on this page.
INPUT
<!DOCTYPE html>
<html>
<head>
<title>Description</title>
</head>
<h2>Qualification</h2>
<h2>Hobbies</h2>
<h2>Interests</h2>
<h2>Future Plans</h2>
3. Create a webpage to mention your academic and professional qualification. Place a bookmark
at an appropriate place and save the page as qualification. Link this page to subheading of
Qualification in previous page.
INPUT
<!DOCTYPE html>
<html>
<head>
<title>Qualification</title>
</head>
<h4>Academic Qualification</h4>
<ul style="list-style-type:circle">
<li>High School</li>
<li>Graduation- BBA</li>
</ul>
<h4>Professional Qualification</h4>
<ul style="list-style-type:circle">
<li>Worked as intern in Edu shedu</li>
</ul>
<a href="prog2.html#Qualification">Back to my Description</a>
</body>
</html>
PROGRAM-3 : OUTPUT
PROGRAM-7
Create a webpage with any information listed in nested form using ordered and unordered list.
INPUT
<html>
<head>
<title>Nested List</title>
</head>
<body>
<ul style="list-style-type:circle">
<li>My Favourite Shows
<ol type="1">
<li>The Walking Dead</li>
<li>Breaking Bad</li>
<li>HIMYM</li>
</li>
</ol>
<li>My Favourite Characters
<ol type="1">
<li>Pinkman</li>
<li>Mike</li>
<li>Negan</li>
<li>Darryl</li>
<li>Barney</li>
</ol>
</li>
</ul>
</body>
</html>
PROGRAM-4: OUTPUT
PROGRAM-8
Create a webpage displaying five different images Using alternative text, using <img>tag.
INPUT
<!DOCTYPE html >
<html>
<head>
<title>using IMG tag</title>
</head>
<body>
<h1>Random Images</h1>
<img src="C:\Users\Public\Pictures\Sample Pictures\cat.jpg" alt="Cat and Rat" width="200"
height="200" />
<img src="C:\Users\Public\Pictures\Sample Pictures\dog.jpg" alt="Dog" width="200"
height="200" />
<img src="C:\Users\Public\Pictures\Sample Pictures\Lens.jpg" alt="Lens" width="200"
height="200" />
<img src="C:\Users\Public\Pictures\Sample Pictures\Sunf (1).jpg" alt="Sunflower"
width="200" height="200" />
<img src="C:\Users\Public\Pictures\Sample Pictures\Cycle.jpg" alt="Cycle" width="200"
height="200" />
</body>
</html>
PROGRAM-8: OUTPUT
PROGRAM-9
Create a table using <table> tag and all the attributes like cell spacing, cell paddling, caption,
border, etc.
INPUT
<!DOCTYPE html>
<html>
<head>
<title>Table with different attributed</title>
</head>
<style>
table, th, td {
border: 2px solid blue;
padding: 5px;
text-align: left;
}
table {
border-spacing: 15px;
}
</style>
</head>
<body>
<table cellspacing="10">
<caption>Student Details</caption>
<tr>
<th>Name</th>
<th>Course</th>
<th>Year</th>
<th>Interest</th>
</tr>
<tr>
<td>Josh</td>
<td>Mass Media</td>
<td>2nd</td>
<td>Cycling</td>
</tr>
<tr>
<td>Rick</td>
<td>M.Tech</td>
<td>1st</td>
<td>Reading</td>
</tr>
<tr>
<td>Hannah</td>
<td>Psychology</td>
<td>3rd</td>
<td>Playing Guitar</td>
</tr>
<tr>
<td>Ryan</td>
<td>Btech</td>
<td>1st</td>
<td>Playing Video Games</td>
</tr>
</table>
</body>
</html>
PROGRAM-9: OUTPUT
PROGRAM-10
Write an HTML program to implement <frameset> and <frame> tag.
INPUT
<!DOCTYPE html>
<html>
<head>
<title>Implementing Frameset and frame tag</title>
</head>
<frameset cols="25%,*,25%">
<frame src="a.html">
<frame src="b.html">
<frame src="c.html">
</frameset>
</html>
PROGRAM-10: OUTPUT
PROGRAM-11
</head>
<body>
<div>Examples: Dancing, playing, singing, listening Music,etc. For more info click the link
below,</div>
</body>
</html>
PROGRAM-11: OUTPUT