The border-bottom-style CSS property sets the line style of an element's bottom border. The source for this interactive example is stored in a GitHub repository. The border-bottom-style property is specified as a single keyword chosen from those available for the border-style property. Get the latest and greatest from MDN delivered straight to your inbox.
So much that we wrote this lengthy article about them to help out those of you who are beginners and want to learn about HTML tables. HTML tables are used for displaying data that make sense in spreadsheet software. They consist of rows and columns and are often used on websites for the effective displaying of tabular data. So how to make a table in HTML?
By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. Setup a private space for you and your coworkers to ask questions and share information. I have a table of 3 by 3. I need a way to add a border for the bottom of every row tr and give it a specific color. I would prefer to use CSS because then I don't need to add a style attribute to every row.
Notice that the table in the example above has double borders. The border-collapse property sets whether the table borders should be collapsed into a single border:. Width and height of a table are defined by the width and height properties.