html practical fillee
html practical fillee
<!DOCTYPE html>
<html>
<head>
<title>Welcome to HTML</title>
</head>
<body>
<h1>Welcome to HTML</h1>
</body>
</html>
Output:
Program: 2
W.A.P to illustrate paragraph tag, line
break, Horizontal rule in HTML.
<!DOCTYPE html>
<html>
<head>
<title>Paragraph and Line Break</title>
</head>
<body>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<hr>
<p>Line break example:<br>This is after a
line break.</p>
</body>
</html>
Program: 3
Output:
W.A.P to illustrate Formatting taxt in
HTML.
<!DOCTYPE html>
<html>
<head>
<title>Text Formatting</title>
</head>
<body>
<b>Bold Text</b><br>
<i>Italic Text</i><br>
<u>Underlined Text</u><br>
<small>Small Text</small><br>
<big>Big Text</big>
</body>
</html>
Program: 4
Output:
W.A.P to illustrate Background & Text
Color in HTML.
<!DOCTYPE html>
<html>
<head>
<title>Background & Text Color</title>
</head>
<body style="background-color: lightblue;
color: red;">
<h1>This is a heading with a colored
background</h1>
</body>
</html>
Program: 4
Output:
W.A.P to illustrate Hexadecimal Color in
HTML.
<!DOCTYPE html>
<html>
<head>
<title>Hexadecimal Color</title>
</head>
<body style="background-color: #ffcc00;">
<h1>Hexadecimal Background Color</h1>
</body>
</html>
Program: 5
Output:
W.A.P to illustrate Internal Linking in
HTML.
<!DOCTYPE html>
<html>
<head>
<title>Internal Linking</title>
</head>
<body>
<a href="page2.html">Go to Page 2</a>
</body>
</html>
Program: 6
Output:
W.A.P to illustrate External Linking in
HTML.
<!DOCTYPE html>
<html>
<head>
<title>External Linking</title>
</head>
<body>
<a href="https://www.example.com"
target="_blank">Visit Example</a>
</body>
</html>
Program: 7
Output:
W.A.P to illustrate Ordered List in HTML.
<!DOCTYPE html>
<html>
<head>
<title>Ordered List</title>
</head>
<body>
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
</body>
</html>
Program: 8
Output:
W.A.P to illustrate Unordered List in
HTML.
<!DOCTYPE html>
<html>
<head>
<title>Unordered List</title>
</head>
<body>
<ul>
<li>Apple</li>
<li>Banana</li>
<li>Cherry</li>
</ul>
</body>
</html>
Program: 9
Output:
W.A.P to illustrate Nested List in HTML.
<!DOCTYPE html>
<html>
<head>
<title>Nested List</title>
</head>
<body>
<ul>
<li>Fruits
<ul>
<li>Apple</li>
<li>Banana</li>
</ul>
</li>
<li>Vegetables
<ul>
Program:<li>Carrot</li>
10
<li>Broccoli</li>
</ul>
</li>
</ul>
</body>
</html>
Output:
Program: 11
W.A.P to illustrate Table Tag in HTML.
<!DOCTYPE html>
<html>
<head>
<title>Table Example</title>
</head>
<body>
<table border="1">
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>Alice</td>
<td>25</td>
</tr>
<tr>
<td>Bob</td>
<td>30</td>
</tr>
</table>
</body>
</html>
Program: 12
Output:
W.A.P to illustrate Frame Tag in HTML.
<!DOCTYPE html>
<html>
<frameset cols="50%,50%">
<frame src="page1.html">
<frame src="page2.html">
</frameset>
</html>
Program: 12
Output:
W.A.P to illustrate Form Tag in HTML.
<!DOCTYPE html>
<html>
<head>
<title>HTML Form</title>
</head>
<body>
<form>
Name: <input type="text"><br>
Email: <input type="email"><br>
<input type="submit">
</form>
</body>
</html>
Program: 13
Output:
Background in HTML.
<!DOCTYPE html>
<html>
<head>
<title>Marquee with Background</title>
<style>
body {
background-image:
url('background.jpg');
background-size: cover;
}
</style>
</head>
<body>
<marquee>Welcome to HTML with
Marquee</marquee>
</body>
</html>
Program: 14
W.A.P to illustrate Marquee with
Output:
<h1>Hello World!</h1>
</body>
</html>
Output: