table border in html inline

HTML table borders are specified using Cascading Style Sheets . Back to: HTML Tutorials. And heres how that simple bit of code is rendered in the browser: HTML.com 2015-2022 Sitemap | Privacy | Contact, table.example-table, .example-table td{border: 1px solid green; border-collapse: collapse;}. To apply the styles covered in this tutorial, you need a . You can apply this property against the HTML table element. If you want to have a border on just one side of a cell, some HTML e-mail clean up services will turn your code out like this: . Browser support for this attribute is limited and using it may . . To add a border to your table, you need to define the