Ex 1
Ex 1
Objective:
Description:
HTML is a computer language devised to allow website creation. These websites can then be
viewed by anyone else connected to the Internet.
Frames are a way of organizing your website. They allow you to divide up your window into
various segments for different purposes
Frame is a part of a web page or browser window which displays content independent of its
container, with the ability to load content independently.
The HTML or media elements that go in a frame may or may not come from the same web site
as the other elements of content on display.
In HTML, a frameset is a group of named frames to which web pages and media can be directed.
A web form or HTML form on a web page allows a user to enter data that is sent to a server for
processing. Forms can resemble paper or database forms because web users fill out the forms
using checkboxes, radio buttons, or text fields.
For example, consider the course registration form in which the user has to give the input in the
corresponding field.
A table is an arrangement of columns and rows used to organize and position data.
<html>
<body>
<center><caption><h1>Registration Form</h1></caption></center>
<form name="form1">
<div align="left"><h3>
chosen duration:<input type ="radio" name="group 1" value="six months"> six months
</div>
</form>
</body>
</html>
Form:
Output:
Source Code:
Table:
<html>
<head>
<title>HTML Table Header</title>
<caption><b> IPL Winners </caption></b>
</head>
<body>
<table border="1" cellpadding="5" cellspacing="5">
<tr>
<th>year </th>
<th>team won</th>
</tr>
<tr>
<td>2008</td>
<td>Rajasthan Royals</td>
</tr>
<tr>
<td>2009</td>
<td>Hyderabad Deccan Chargers</td>
</tr>
<tr>
<td>2010</td>
<td>Chennai Super Kings</td>
</tr>
</table>
</body>
</html>
Output:
Source Code:
Frame:
<html>
<frameset cols="50%,50%">
<frame src="m.html">
<frame src="jane.html">
</frameset>
</html>
Output:
Conclusion:
In this experiment, the creation of webpage with frames, forms, table, and link was
implemented and the output was verified successfully.