Tuesday, 28 December 2021

Tables in HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>table</title>

</head>
<style>table,th,td {border:1px solid rgba(0, 0, 0, 0.582);}</style>
<body>
    <table>
        <tr>
            <th bgcolor="red">sr no.</th>
            <th bgcolor ="green">roll no.</th>
            <th bgcolor="blue">name</th>
            <th bgcolor ="pink">team</th>
        </tr>
        <tr>
            <td bgcolor ="orange">1</td>
            <td bgcolor ="skyblue">72</td>
            <td bgcolor="yellow"  bgcolor="">aditya</td>
            <td bgcolor="orange"> uk organisation </td>
        </tr>
        <tr>
            <th bgcolor ="blue">maths </th>
            <th bgcolor ="saffron">physics </th>
            <th bgcolor="saffron">chemistry </th>
       
        </tr>
        <tr>
            <td bgcolor="saffron">100</td>
            <td bgcolor="orange">23</td>
            <td bgcolor="green">67</td>

        </tr>

    </table>
</body>
</html>
 

Aditya Patel

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 comments:

Post a Comment