Simple table HTML without CSS border codes examples
To write table Html code without border simply do not need to add CSS code containing border attributes. or Set the CSS border property to none to Remove Border From a Table in HTML. We can set the border property to none to remove the border from an HTML table. The property is short-hand of different border properties. Those different properties are border-width, border-style, and border-color.
Examp1.
<table><tr><td>Cell A</td><td>Cell B</td><td>Cell D</td></tr><tr><td>Cell E</td><td>Cell F</td><td>Cell G</td></tr></table>
Output:
Cell A | Cell B | Cell D |
Cell E | Cell F | Cell G |
Example2.
<table><tr><th>First Name</th><th>Last Name</th><th>Email Address</th></tr><tr><td>Katrin</td><td>Thom</td><td>katrin@mail.com</td></tr><tr><td>Jhon</td><td>Alfrid</td><td>alfrid@mail.com</td></tr></table>
Output:
Another table HTML without border:
First Name | Last Name | Email Address |
---|---|---|
Katrin | Thom | katrin@mail.com |
Jhon | Alfred | alfrid@mail.com |
Keywords:
Try now
Comments :
Post a Comment