Practical HTML (Autosaved) 20
Practical HTML (Autosaved) 20
Practical :- 01
1. Write an Html Program to create the table
SOLUTION:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>table</title>
</head>
<body>
<table border="1">
<caption align="bottom">
<tr><th>class
<th>SUB 1
<th>SUB 2
<th>SUB 3
</th>
</tr>
<tr>
<td>BCA 1
<td>VB
<td>pc software
<td>Eletronics
DEEPAK 2024-25
</td>
</tr>
<td>BCA 2
<td>c++
<td>DBMS
<td>English
</td>
</tr>
<tr>
<td>BCA 3
<td>JAVA
<td>MULTIMEDIA
<td>CSA
</td>
</tr>
</table>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 02
2. Write an HTML program to create the following lists?
1. C
2. C++
3. VISUAL BASIC
4. COBOL
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<ol></ol>
<dd> c </dd>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 03
3. Write an HTML program to demonstrate hyperlinking between two web page.
Create a marquee and also insert an image in the page?
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<hr>
</marquee>
khadakwasla
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 04
4. Write an HTML program to createframes in HTML
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>frameset</title>
</head>
<frameset cols="30%,30%,40%">
<frame src="file:///C:/Users/Acer/Documents/html/kahani.html"></frame>
<frame src="file:///C:/Users/Acer/Documents/html/kahani2.html"></frame>
<frame src="file:///C:/Users/Acer/Documents/html/kahani3.html"></frame>
</frameset>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 05
5. Write an HTML program to create the following table?
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<table border="4">
<tr><th>maruti
<td>
<th>tata
<td>
<th>ford
</th>
</tR>
<TR>
<td>modal
<td>price
<td>modal
<td>price
<td>modal
<td>price
</tr>
DEEPAK 2024-25
<tr>
<td>maruti800
<td>2lac
<td>sumo
<td>2lac
<td>ikon
<td>5lac
</tr>
<tr>
<td>santro
<td>3lac
<td>scorpio
<td>3lac
<td>nexxa
<td>7lac
</tr>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 06
6. Write an HTML program to create the following table?
STUDENT REPORT
Pt. Ravishankar Shukla University
NAME ROLL NO. CLASS
Rahul 40 B.Sc. 1st Year
Manish 85 B.Sc. 2nd Year
Krishna 57 B. Sc. 3rd Year
Mahesh 95 B.Sc 2nd Year
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>STUDENT REPORT</title>
</head>
<body>
<tr align="center"><th>
</th>
</tr>
<tr align="center">
<td>NAME
<td>ROLL NO.
<td>CLASS
</td>
</tr>
<tr align="center">
DEEPAK 2024-25
<td>Rahul
<td>40
<td>B.sc.1st Year
</td>
</tr>
<tr align="center">
<td>Manish
<td>85
<td>B.sc.2nd Year
</td>
</tr>
<tr align="center">
<td>Krishna
<td>57
<td>B.sc.3rd Year
</td>
</tr>
<tr align="center">
<td>Mahesh
<td>95
<td>B.sc.2nd Year
</td>
</tr>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 07
7. Write an HTML program to create the following table?
Student Records
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<table border="4">
<caption align="middle">
</caption>
<tr><th>name
<th>subject
<th>mark
</th>
</tr>
<tr>
<td>Arun
<td>JAVA
<td>70
</tr>
DEEPAK 2024-25
<tr>
<td>
<td>c
<td>79
</td>
</tr>
<tr>
<td>Ravi
<td>JAVA
<td>75
</td>
</tr>
<tr>
<td>
<td>c
<td>69
</td>
</tr>
</table>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 07
7. Write an HTML coding to display the following table?
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<table border="3">
<tr>
<th>subject</th>
<th>Max. Marks</th>
<th>Min. Marks</th>
<th>Obtained Marks</th>
</tr>
<tr>
<td>physics</td>
<td>100</td>
<td>33</td>
<td>75</td>
</tr>
DEEPAK 2024-25
<tr>
<td>maths</td>
<td>100</td>
<td>33</td>
<td>70</td>
</tr>
<tr>
<td>software</td>
<td>100</td>
<td>33</td>
<td>68</td>
</tr>
<tr>
<td>hardware</td>
<td>100</td>
<td>33</td>
<td>73</td>
</tr>
</table>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 08
8.Write an HTML program to create a form as. the following?
Student ID
Enter Name:
Enter Roll No:
Enter Age:
Enter DOB:
DEEPAK 2024-25
Practical :- 09
9. Create the in HTML form?
USER NAME :
PASSWORD:
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<form>
User name
<br>
password
<br>
<br>
</form>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 10
10.Create the following in HTML form?
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<form>
<label>First Name:</label>
<label>Last Name:</label>
<label>Gender:</label>
<label>Subject:</label>
<select name="subject">
</select><br><br>
</form>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 11
11. Write the HTML coding for the following equations?
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<br><br>
<br><br>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 12
12. Write the HTML code to display the following?
• Actors
• Bruce Willis
• Gerard Butler
• Vin Diesel
• Bradd Pitt
• Actress
• Julia Roberts
• Anjelina Jolie
• Kate Winslet
• Cameron Diaz
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<h2>Actors</h2>
<ul>
<li>Bruce Willis</li>
<li>Gerard Butler</li>
<li>Vin Diesel</li>
<li>Brad Pitt</li>
</ul>
DEEPAK 2024-25
<h2>Actresses</h2>
<ul>
<li>Julia Roberts</li>
<li>Angelina Jolie</li>
<li>Kate Winslet</li>
<li>Cameron Diaz</li>
</ul>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 13
13. Write HTML code to display the following?
1 Crikect Players
D. Bastman
i. Sachin Tendulkar
E. Fast Bowler
i RP Singh
F. Spinner
i. Harbhajan Singh
SOLUTION :-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<h1>Cricketers</h1>
<h2>A. Batsmen</h2>
DEEPAK 2024-25
<ul>
<li>Sachin Tendulkar</li>
<li>Rahul Dravid</li>
<li>Virendra Sehwag</li>
</ul>
<ul>
<li>RP Singh</li>
<li>Zaheer Khan</li>
<li>Ashish Nehra</li>
</ul>
<h2>C. Spinners</h2>
<ul>
<li>Harbhajan Singh</li>
<li>Anil Kumble</li>
<li>Murali Kartik</li>
</ul>
</body>
</html>
OUTPUT :-
DEEPAK 2024-25
Practical :- 14
14. Write the HTML coding to display the following tables:
Name Roll No.
Roll No. Subject
Subject Max Min Obtain
JAVA 100 33 75
MULTI MEDIA 100 33 70