Launch your tech mastery with us—your coding journey starts now!
Course Content
HTML Elements and Attributes
0/2
HTML Styles
0/1
HTML Lists
0/1
JavaScript with HTML
0/1

Creating a simple table in HTML using a table tag.

    <table>

        <tr>

            <th>Book Name</th>

            <th>Author Name</th>

            <th>Genre</th>

        </tr>

        <tr>

            <td>The Book Thief</td>

            <td>Markus Zusak</td>

            <td>Historical Fiction</td>

        </tr>

        <tr>

            <td>The Cruel Prince</td>

            <td>Holly Black</td>

            <td>Fantasy</td>

        </tr>

        <tr>

            <td>The Silent Patient</td>

            <td> Alex Michaelides</td>

            <td>Psychological Fiction</td>

        </tr>

    </table>