HTML - table tags associated

 

< HTML > 
    
    < head > </ head > 
    
    < body > 
        
        <-! 
            Table (Table) 
                border: the border of the table 
                width: the width of the table 
                height: High table 
                cellpadding: Content distance from the border 
                cellspacing: cell spacing 
        - -> 
        < Table border = "1px" width = "300px by" height = "200px" cellpadding = "0" cellspacing = "0" > 
            <-!  
                TR (OK) 
                    height:High Line 
            -> 
            <TR height = "80px" > 
                ! <- 
                    TD (cells) 
                        colspan: columns into 
                        rowspan: Merge row 
                -> 
                < TD colspan = "2" > Merge Data. 1 </ TD > 
                < TD rowspan = "2" > The combined data 2 </ TD > 
            </ TR > 
            < TR > 
                < TD > data 2 </ TD > 
                < TD > data 3 </td>
            </tr>
        </table>
        
    </body>
    
</html>

 

 Page Show Results: 

 

Guess you like

Origin www.cnblogs.com/mpci/p/11532140.html
Recommended