Professional Documents
Culture Documents
Exp. No: 1C Creation of HTML Document Using Frames With Form Controls Date: Scenerio
Exp. No: 1C Creation of HTML Document Using Frames With Form Controls Date: Scenerio
IT17511 171001044
PROGRAM:
Frames.html
<!DOCTYPE html>
<html>
<head>
<title>Maincars
</title>
</head>
<frameset rows="20%,*">
<frameset cols="*,*,*">
<frame src="Name.html"></frame>
<frame src="Color.html"></frame>
<frame src="Carparts.html"></frame>
</frameset>
<frameset cols="55%,*">
<frame src="Carimg1.html"></frame>
<frame src="Carimg2.html"></frame>
</frameset>
</frameset>
</html>
Name.html
<!DOCTYPE html>
<html>
<head>
<title>Username</title>
</head>
<body>
<h2>Personal Details</h2>
<form>
<label>Name</label><br>
<input type="text" name="Name" maxlength="30"><br>
<label>Address</label><br>
<input type="text" name="Address" maxlength="30">
</form>
</body>
</html>
Color.html
<!DOCTYPE html>
<html>
<head>
<title>
IT17511 171001044
Colors
</title>
</head>
<body>
<h2>Colors</h2>
<form>
<label>Color names</label><br>
<input type="radio" >Red<br>
<input type="radio" >Yellow<br>
<input type="radio" >Blue<br>
<input type="radio" >Green<br>
</form>
</body>
</html>
Carparts.html
<!DOCTYPE html>
<html>
<head>
<title>
Carparts
</title>
</head>
<body>
<h2>Car Parts</h2>
<form>
<label>Car Parts</label><br>
<input type="checkbox" >CD Player<br>
<input type="checkbox" >AC<br>
<input type="checkbox" >Gear<br>
<input type="checkbox" >Steering wheel<br>
</form>
</body>
</html>
Carimg1.html
<!DOCTYPE html>
<html>
<head>
<title>Mahindra KUV</title>
</head>
<body>
<h2>Mahindra KUV</h2>
<img src="car1.jpg" alt="KUV" align="center">
</body>
IT17511 171001044
</html>
Carimg2.html
<!DOCTYPE html>
<html>
<head>
<title>Hyundai Verna</title>
</head>
<body>
<h2>Hyundai Verna</h2>
<img src="car2.jpg" alt="VERNA" align="center">
</body>
</html>
IT17511 171001044
OUTPUT:
RESULT: Thus the HTML document using frames with form controls is created
successfully.
IT17511 171001044