" can add a dark red border to the table."> How to set the border color of html table-HTML Tutorial-php.cn

How to set the border color of html table

angryTom
Release: 2020-03-02 11:54:37
Original
34193 people have browsed it

Table is a layout method commonly used in web page production before, but with the rise of DIV CSS, table has lost its glory. But it is also used from time to time when we create web pages. A table can also set its border color arbitrarily using a DIV.

How to set the border color of html table

#htmlHow to set the border color of the table

You only need to add the bordercolor attribute to the table to set the border color for the table.

Recommended learning:html tutorial

1 2
1 2
Copy after login

Effect:

How to set the border color of html table

##For more HTML tutorials, please Follow

PHP中文网!

The above is the detailed content of How to set the border color of html table. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!