Home >> HTML 5 >> What is Table Sizes in HTML 5

What is Table Sizes in HTML 5

HTML table sizes is used for arrange row, column of width and height.
 
Example
<!Doctype Html>  
<html>     
<head>      
       <title>Table Sizes</title>
</head>  
<body>   
<table width="300" height="400" border="1">
    <tr>
        <td width="100">1</td>
        <td width="200">A</td>
    </tr>
    <tr>
        <td width="100">2</td>
        <td width="200">B</td>
    </tr> 
    <tr>
        <td width="100">3</td>
        <td width="200">C</td>
    </tr>
    <tr>
        <td width="100">4</td>
        <td width="200">D</td>
    </tr>
</table>
</body>  
</html>  
 
Output
1 A
2 B
3 C
4 D

Post Your Comment

Next Questions
What is Table Headers
What is Table Padding and Spacing
What is Table Colspan and Rowspan
What is Table Styling
What is Table Colgroup
How many type of Lists
What is Unordered Lists
What is Ordered Lists
What is Block and Inline Elements
What is HTML class Attribute
What is HTML id Attribute
What is HTML Iframes
What is HTML JavaScript
What is HTML File Paths
What is HTML Head Element
What is HTML Layout
What is HTML Responsive Website Design
What is HTML Forms
What is HTML Form Attributes
What is HTML Form Elements
What is HTML Input Types
What is HTML Input Attributes
What is HTML Input form attributes
What is HTML SVG Graphics
What is HTML Multimedia

Copyright ©2022 coderraj.com. All Rights Reserved.