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

HTML Worksheet 2

The document provides examples of HTML code for creating tables with various attributes like height, width, borders, colors, and padding. It includes a sample table with student data and another blank table to write HTML code for a table with CSS browser support information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

HTML Worksheet 2

The document provides examples of HTML code for creating tables with various attributes like height, width, borders, colors, and padding. It includes a sample table with student data and another blank table to write HTML code for a table with CSS browser support information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MIS ICT GRADE 7

Web authoring – html


Name: …………………………………………… Sec: ……….
1. Write html tag for the given output
 table height is 15%
 Table width is 15%
 Border is 2
 Border color is red
 Bgcolor is blue
 Cellpadding is 8/Cellspacing is 6
………………………………………………………………………………………………………………………………………………………………………………………
<html>
………………………………………………………………………………………………………………………………………………………………………………………
<table height="15%" width="15%" border="2" bgcolor="blue"
………………………………………………………………………………………………………………………………………………………………………………………
bordercolor="red" cellpadding="8" cellspacing="6">
………………………………………………………………………………………………………………………………………………………………………………………
<tr>
………………………………………………………………………………………………………………………………………………………………………………………
<th>Student no</th>
………………………………………………………………………………………………………………………………………………………………………………………
<th>Student name</th>
………………………………………………………………………………………………………………………………………………………………………………………
<th>Marks</th>
………………………………………………………………………………………………………………………………………………………………………………………
</tr>
………………………………………………………………………………………………………………………………………………………………………………………
<tr>
………………………………………………………………………………………………………………………………………………………………………………………
<td>120</td>
………………………………………………………………………………………………………………………………………………………………………………………
<td>Yogibabu</td>
………………………………………………………………………………………………………………………………………………………………………………………
<td>77</td>
………………………………………………………………………………………………………………………………………………………………………………………
</tr>
………………………………………………………………………………………………………………………………………………………………………………………
<tr>
………………………………………………………………………………………………………………………………………………………………………………………
<td>121</td>
………………………………………………………………………………………………………………………………………………………………………………………
<td>Joash</td>
………………………………………………………………………………………………………………………………………………………………………………………
<td>87</td>
………………………………………………………………………………………………………………………………………………………………………………………
</tr>
………………………………………………………………………………………………………………………………………………………………………………………
</table>
………………………………………………………………………………………………………………………………………………………………………………………
</html>
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………

TERM – 3 1
MIS ICT GRADE 7

2. Refer the table and write html code in the given space.
 Table border is 1, Cellpadding is 5,
Cellspacing is 3
 Caption is CSS Browser Support (latest
browser versions)

………………………………………………………………………………………………………………………………………………………………………………………
<html>
<table border="1" cellpadding="5" cellspacing="3">
………………………………………………………………………………………………………………………………………………………………………………………
<caption>CSS Browser Support (latest btowser versions)</caption>
………………………………………………………………………………………………………………………………………………………………………………………
<tr>
<th>CSS property</th>
………………………………………………………………………………………………………………………………………………………………………………………
<th>Internet Explorer</th>
<th>Firefox</th>
………………………………………………………………………………………………………………………………………………………………………………………
<th>Chrome</th>
………………………………………………………………………………………………………………………………………………………………………………………
</tr>
<tr>
………………………………………………………………………………………………………………………………………………………………………………………
<th>Border Radius</th>
<td>YES</TD>
………………………………………………………………………………………………………………………………………………………………………………………
<TD> YES</TD>
<TD>YES</TD>
………………………………………………………………………………………………………………………………………………………………………………………
</TR>
………………………………………………………………………………………………………………………………………………………………………………………
<TR>
<TH> Box Shadow </TH>
………………………………………………………………………………………………………………………………………………………………………………………
<TD>YES</TD>
<TD>YES</TD>
………………………………………………………………………………………………………………………………………………………………………………………
<TD>YES</TD>
………………………………………………………………………………………………………………………………………………………………………………………
</TR>
<TR>
………………………………………………………………………………………………………………………………………………………………………………………
<TH> CSS Animation</TH>
<TD>NO</TD>
………………………………………………………………………………………………………………………………………………………………………………………
<TD>NO</TD>
<TD>Yes</TD>
………………………………………………………………………………………………………………………………………………………………………………………
</TR>
………………………………………………………………………………………………………………………………………………………………………………………
</TABLE>
</HTML>
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………

TERM – 3 2

You might also like