0% found this document useful (0 votes)
2 views

HTML Practical

The document contains two HTML code examples: the first is a table displaying student details with product names and prices, and the second creates a frame layout with multiple frames arranged in rows and columns. The table includes a total row for the prices, while the frame layout is structured to divide the page into sections. Both examples demonstrate basic HTML structure and elements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

HTML Practical

The document contains two HTML code examples: the first is a table displaying student details with product names and prices, and the second creates a frame layout with multiple frames arranged in rows and columns. The table includes a total row for the prices, while the frame layout is structured to divide the page into sections. Both examples demonstrate basic HTML structure and elements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Practical :-13

Question:- Write the HTML code for the following table:

<html>

<head>

<title>Student Details Table</title>

</head>

<body>

<h2>STUDENT DETAILS</h2>

<table border="1" cellpadding="5" cellspacing="0">

<tr>

<th>S.No</th>

<th>Product Name</th>

<th>Price</th>

</tr>

<tr>

<td>1.</td>

<td rowspan="2"> A & B </td>

<td>6500</td>
</tr>

<tr>

<td>2.</td>

<td>7000</td>

</tr>

<tr>l

<td>TOTAL</td>

<td>13500</td>

</tr>

</table>

</body>

</html>

Output :-
Practical :-14
Aim: Write the html program to create the following frame design:

Code:

<html>

<head>

<title>Frame Layout</title>

</head>

<frameset rows="50%,50%" border="1">

<frame src="about:blank" name="topFrame" />

<frameset cols="33%,34%,33%">

<frame src="about:blank" name="bottomLeftFrame" />

<frameset rows="50%,50%">

<frame src="about:blank" name="centerTopFrame" />

<frame src="about:blank" name="centerBottomFrame" />

</frameset>

<frame src="about:blank" name="bottomRightFrame" />

</frameset>

</frameset>
</html>

Output :-

You might also like