Tables and the lists

Tables and the lists in the html
x.




Tables and the lists are used in the web development to represent the tables and the lists in our web
How to represent the lists and the tables ?




<!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>Tables and lists</title>
</head>

<body>
    <h2>We are going to learn the lists </h2>
    <ul type="circle">
        <li>This is unordered first</li>
        <li>This is unordered second</li>
        <li>This is unordered third</li>
    </ul>In the type=natural numbers,roman ,alphabets
    <ol type="i">
        <li>This is ordered first</li>
        <li>This is ordered second</li>
        <li>This is ordered third</li>
    </ol>
    <h2>WE are going to learn the Tables</h2>
    <table>
        <thead>
            <tr>
                <th>Name</th>
                <th>Salary</th>
                <th>Years</th>

            </tr>
        </thead>
        <tbody>
            <tr >
                <td>Mohan</td>
                <td>20lacks</td>
                <td>4 yr</td>
                
            </tr>
         
            <tr>
                <td>Rohan</td>
                <td>2lacks</td>
                <td>4 yr</td>
            </tr>
            
            <tr>
                <td>Soham</td>
                <td>20lacks</td>
                <td>2 yr</td>
            </tr>
        </tbody>

    </table>

</body>

</html



Post a Comment

Previous Post Next Post