Rows are created between </tr>and <tr>. WHY?


#1

https://www.codecademy.com/en/courses/web-beginner-en-f8mcL/0/4?curriculum_id=50579fb998b470000202dc8b

rows are created between /tr and tr


<html>
    <head>
        <title>Table Time</title>
    </head>
    
    <body>
        
        <table border="1px">
            <tr>
                <td>One</td>
            </tr>
                <td>One</td>
            <tr>
                <td>One</td>
            </tr>
                <td>One</td>
            <tr>
                <td>One</td>
            </tr>
        </table>
        
    </body>

</html>


#2

@hasan_mesbaul,
Maybe reading the syntax-definition in the ==Book==
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Tables


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.