Posts

Showing posts from January, 2022

PRACTICALS ( TERM 2) CLASS X

Image
PROGRAM1. Write HTML Code to generate the following table:-   <html> <head>  <title> table tag </title> </head> <body> <table border="2" bordercolor="blue" height=150, width=100> <tr> <td width="45"> one </td> <td bgcolor="yellow"> two </td> </tr> <tr> <td bgcolor="red"> three </td> <td  background="C:\Users\stk\Desktop\baudh.jpg"> four </td>  </tr> </table> </body> </html> PROGRAM 2:- Write a program to display use of CELLSPACING and CELLPADDING attributes. <html> <head>  <title> Cellpadding and cellspacing </title> </head> <body> <table border="3" cellspacing="10" cellpadding="1"> <tr> <td align="center"> monica </td> <td align="center"> caroline </td> </tr> <tr>