Write the program to make the following table in HTML
Attachments:
Answers
Answered by
12
<HTML>
<HEAD><TITLE>Spanning</TITLE></HEAD> <BODY Bgcolor="LightYellow">
<TABLE Border=5 bordercolor="Red">
<TR>
<TH Colspan= 4 Align= "Center">Class 10th</TH></TR>
<TR>
<TH Rowspan=3> Details</TH>
<TH>S.NO.</TH>
<TH>Name</TH>
<TH>Grades</TH></TR>
<TR>
<TD>1</TD> <TD>Manas</TD><TD>A+</TD></TR> <TR><TD>2</TD><TD>Dhiraj</TD><TD>A</TD>
</TR></TABLE>
</BODY>
</HTML>
Attachments:
Answered by
2
- To create table in HTML, use the <table> tag. A table consist of rows and columns, which can be set using one or more <tr>, <th>, and <td> elements. A table row is defined by the <tr> tag. To set table header, use the <th> tag.
Similar questions