Question: How Do You Put A Border Color In HTML?

How can you add borders around a table?

Use the Border Styles gallery to add a borderClick in the table, and then click the Table Move Handle to select the table.

The Table Tools Design tab appears.

Click Border Styles and choose a border style.Click Borders and choose where you want to add the borders..

How do I add color to a table header in HTML?


bgcolor Attribute is used to specify the background color of a table header cell….Attribute Values:color_name: It sets the background color by using the color name. … hex_number: It sets the background color by using the color hex code.More items…•

How do you color border in CSS?

The border-color property sets the color of an element’s four borders. This property can have from one to four values….If the border-color property has four values:top border is red.right border is green.bottom border is blue.left border is pink.

How do I create a border?

Add a border to a pageGo to Design > Page Borders.Make selections for how you want the border to look.To adjust the distance between the border and the edge of the page, select Options. Make your changes and select OK.Select OK.

How do you add a border to a cell in HTML?

To add a border to your table, you need to define the