htmlcode
htmlcode
1. Write the “COMPUTER APPLICATION” text using font tag whose color,
style and size is red, Algerian and 5 respectively in the web page
and title is “WELCOME”.
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>WELCOME</title>
</head>
<body>
</body>
</html>
2. Define the plug-in and add-on.
Plug-in:
A plug-in is a software module designed to integrate with and add specific
features to a primary application, such as a browser, media player, or
design software.
Examples:
Add-on:
An add-on is a broader term for any additional component or accessory
software that extends the functionality of a program.
Examples:
Key Difference:
Code(1):-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Formula Display</title>
</head>
<body>
<p>
</p>
</body>
</html>
Code(2):-
<!DOCTYPE html>
<head>
</head>
<body>
<p>
</p>
</body>
</html>
4. Define the embed, audio and video tag with their attributes (at least
4 major attributes
1. <embed> Tag
Major Attributes:
Example:
2. <audio> Tag
Major Attributes:
Example:
3. <video> Tag
The <video> tag is used to embed video files into a webpage. It
supports formats such as MP4, WebM, and OGG.
Major Attributes:
Example:
Code:-
<!DOCTYPE html>
<html>
<head>
<title>Pursuits that keep me Alive</title>
</head>
<body>
<h1>Pursuits that keep me Alive</h1>
<h2>Favorite Passtime</h2>
<ul>
<li>Listening to Music</li>
<li>Indulging in Theatre</li>
</ul>
<h2>Theatre Involvement</h2>
<p>
I am more of a theatre enthusiast as I love watching plays.
Sometimes, I have volunteered for some production works also.
</p>
<label>Last name:</label>
<input type="text" name="lastname"><br><br>
<label>Password:</label>
<input type="password" name="password"><br><br>
<label>Re-Type Password:</label>
<input type="password" name="repassword"><br><br>
<label>SEX:</label>
<input type="radio" name="gender" value="male"> Male
<input type="radio" name="gender" value="female"> Female<br><br>
<h3>Additional Information</h3>
<input type="checkbox" name="mailinglist"> Put me on mail list.<br><br>
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dubai Tourism</title>
</head>
<body>
<h1 style="font-family: Arial; color: maroon; text-align: center;">WELCOME TO
DUBAI</h1>
<hr style="height: 5px; background-color: red; border: none; width: 50%; margin:
auto;">
<hr style="height: 5px; background-color: red; border: none; width: 50%; margin:
auto;">
<ul>
<li><a href="morning.html">Morning</a> - Dolphinarium and Palm Dubai</li>
<li><a href="evening.html">Evening</a> - Ski Dubai and Cruise</li>
</ul>
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<title>Indian Elephant</title>
</head>
<body bgcolor="yellow" style="font-family: Arial;">
<p>
The Indian elephant (<i>Elephas maximus indicus</i>) is one of three recognized
subspecies of the Asian elephant and native to mainland Asia.
Since 1986, <i>Elephas maximus</i> has been listed as Endangered by IUCN as
the population has declined by at least 50% over the last three generations,
estimated to be 60 - 75 years. Asian elephants are threatened by habitat loss,
degradation, and fragmentation.
</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="one.html" style="color: black; text-decoration: none;">Sri Lankan
Elephant</a></li>
<li><a href="two.html" style="color: black; text-decoration: none;">Sumatran
Elephant</a></li>
<li><a href="three.html" style="color: black; text-decoration: none;">Borneo
Elephant</a></li>
<li><a href="four.html" style="color: black; text-decoration: none;">African
Elephant</a></li>
</ul>
<p><b>Threats To Elephants</b></p>
<table border="2" cellpadding="5" cellspacing="0">
<tr>
<td>1</td>
<td>Illegal Hunting</td>
</tr>
<tr>
<td>2</td>
<td>Industrialization</td>
</tr>
<tr>
<td>3</td>
<td>Habitat Loss</td>
</tr>
<tr>
<td>4</td>
<td>Fragmentation</td>
</tr>
<tr>
<td>5</td>
<td>Disease</td>
</tr>
</table>
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Table</title>
</head>
<body>
</body>
</html>