From fa7362a21ba8cd55e061210ba3ad2e634fd5c8c4 Mon Sep 17 00:00:00 2001 From: BLJS2warchief Date: Sat, 29 Dec 2018 21:49:04 +0000 Subject: [PATCH] Added a required style of table (#26753) A border can be added to a table by this CSS synatax --- guide/english/html/tables/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/guide/english/html/tables/index.md b/guide/english/html/tables/index.md index 9f469e3edf..2bd69baa65 100644 --- a/guide/english/html/tables/index.md +++ b/guide/english/html/tables/index.md @@ -168,6 +168,13 @@ Result: +The table can also be applied a border with the css as follows +```html +table, th, td { + border: 1px solid black; +} +``` + #### More Information: * [MDN - table](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table) * [YouTube - HTML Tables Tutorial](https://www.youtube.com/watch?v=BczLWImAmBk)