LAYOUT USING TABLES :
The layout using Tables are the simplest and most popular way of creating layouts . These tables are arranged in columns and rows, so it can utilized in many ways according to the need .
EXAMPLE:-
<html> <head> <title>Layout using Tables</title> </head> <body> <table width="100%" border="0"> <tr> <td colspan="2"bgcolor="steelblue"> <center> <h1>BIG CATS</h1> </center> </td> </tr> <tr valign="top"> <td bgcolor="#48D1CC" width="50"> <b>Main Menu</b><br /> Tiger<br /> Lion<br /> Cheetah </td> <td bgcolor="#eee" width="100" height="200"> The tiger (Panthera tigris) is the largest cat species </td> </tr> <tr> <td colspan="2"bgcolor="steelblue"> <center> Copyright 2019 </center> </td> </tr> </table> </body> </html>
OUTPUT:-
sk. |
No comments:
Post a Comment