Web Applications Practical File
Web Applications Practical File
ANS:-
<html>
<head>
<title>About My City</title>
<style>
.city-name {
font-size: 24px;
color: blue;
.landmark {
font-size: 18px;
.landmark-1 {
color: red;
.landmark-2 {
color: green;
.landmark-3 {
color: orange;
.blink {
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
</style>
</head>
<body>
<h1 class="city-name">Gameland</h1>
</marquee>
</body>
</html>
ANS:-
<html>
<head>
<title>Places in Maharashtra</title>
<style>
.state-name {
font-size: 24px;
color: blue;
.city {
margin-left: 20px;
.landmark {
margin-left: 40px;
</style>
</head>
<body>
<h1 class="state-name">Maharashtra</h1>
<ul class="city">
<li>
<strong>Pune</strong>
<ol class="landmark">
<li>I. Dighi</li>
<li>II. Moshi</li>
<li>III. Shivajinagar</li>
</ol>
</li>
<li>
<strong>Mumbai</strong>
<ol class="landmark">
<li>I. Santakruiz</li>
<li>II. Vikroli</li>
<li>III. Mumbra</li>
</ol>
</li>
</ul>
</body>
</html>
Q3
ANS:-
<html>
<head>
<title>Country Population</title>
</head>
<body>
<table>
<tr>
<th>Country</th>
<th>1998</th>
<th>1999</th>
<th>2000</th>
</tr>
<tr>
<td>INDIA</td>
<td>100</td>
<td>85</td>
<td>90</td>
<td>100</td>
</tr>
<tr>
<td>USA</td>
<td>40</td>
<td>30</td>
<td>35</td>
<td>40</td>
</tr>
<tr>
<td>UK</td>
<td>35</td>
<td>25</td>
<td>30</td>
<td>35</td>
</tr>
</table>
</body>
</html>
<html>
<head>
</head>
<body>
<p>
</p>
<p>
</p>
<p>
<a href="#reference">This link will open to a reference within the same document.</a>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</body>
</html>
Q5 :- Design an html form to take the information of a article to be uploaded such as file
path, author name , type (technical, literary, general), subject topic ( to be selected from a
list) etc. One should provide button to Submit as well as Reset the form contents.
<html>
<head>
<title>Upload Article</title>
</head>
<body>
<h2>Upload Article</h2>
<label for="type">Type:</label>
<option value="technical">Technical</option>
<option value="literary">Literary</option>
<option value="general">General</option>
</select><br><br>
</select><br><br>
</form>
</body>
</html>