HTML code.

Q11. Write the HTML code to generate the following output:

1

2

3

4

5

6

7

8

9

10

 

Ans.

<HTML>

<HEAD>

<TITLE>

</TITLE>

</HEAD>

<BODY>

<TABLE BORDER=1>

<TR>

<TD COLSPAN=4 ALIGN=”center”> 1 </TD>

</TR>

<TR>

<TD COLSPAN=2 ALIGN=”center”> 2 </TD>

<TD COLSPAN=2 ALIGN=”center”> 3 </TD>

</TR>

<TR>

<TD> 4 </TD>

<TD COLSPAN=2 ALIGN=”center”> 5 </TD>

<TD> 6 </TD>

</TR>

<TR>

<TD> 7 </TD>

<TD> 8 </TD>

<TD> 9 </TD>

<TD> 10 </TD>

</TR>

</TABLE>

</BODY>

</HTML>

Leave a Reply

Your email address will not be published. Required fields are marked *

1 Views
%d bloggers like this: