Added a required style of table (#26753)

A border can be added to a table by this CSS synatax
This commit is contained in:
BLJS2warchief
2018-12-29 21:49:04 +00:00
committed by Christopher McCormack
parent 3ee06dd634
commit fa7362a21b

View File

@ -168,6 +168,13 @@ Result:
</tr> </tr>
</table> </table>
The table can also be applied a border with the css as follows
```html
table, th, td {
border: 1px solid black;
}
```
#### More Information: #### More Information:
* [MDN - table](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table) * [MDN - table](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table)
* [YouTube - HTML Tables Tutorial](https://www.youtube.com/watch?v=BczLWImAmBk) * [YouTube - HTML Tables Tutorial](https://www.youtube.com/watch?v=BczLWImAmBk)