Example of different HTML Tags Archives - MeroPaper

MeroPaper

Example of different HTML Tags | Grade 11

TABLE Example <html> <body> <table border=”4″> <caption>Countries & Capital</caption> <tr> <td>S.N.</td> <td>Country</td> <td>Capital</td></tr> <tr> <td>1</td> <td>Nepal</td> <td>KTM</td></tr> <tr> <td>2</td> <td>China</td> <td>BJG</td></tr> <tr> <td>3</td> <td>Japan</td> <td>TKY</td></tr> </table> </body> </html> Output Attributes of <table>: height (in px), width (in px), border (0-4), bordercolor, background, bgcolor, align, cellspacing (distance between cell and cell’s border), cell padding (distance between … Read moreExample of different HTML Tags | Grade 11