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

What is Table Borders in HTML 5

HTML table border is used for border width and style.
 
Example
 
<!Doctype Html>  
<html>     
<head>      
       <title>Table Borders</title>
</head>  
<body>   
<table width="200" height="200" border="1">
    <tr>
        <td>1</td>
        <td>A</td>
    </tr>
    <tr>
        <td>2</td>
        <td>B</td>
    </tr> 
    <tr>
        <td>3</td>
        <td>C</td>
    </tr>
    <tr>
        <td>4</td>
         <td>D</td>
    </tr>
</table>
</body>  
</html>  
 
Output
1 A
2 B
3 C
4 D

Post Your Comment

Next Questions
What is Table Sizes
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

Copyright ©2022 coderraj.com. All Rights Reserved.