HTML table markup tutorial (4): border color attribute BORDERCOLOR

HTML table markup tutorial (4): border color attribute BORDERCOLOR

To beautify the table, you can set different border colors for the table.
Basic syntax
<TABLE BORDERCOLOR=COLOR_VALUE>
Syntax explanation <br />When defining colors, you can use English color names or hexadecimal color values.
File example: 10-4.htm
Sets the color of the table border.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-4.htm -->
03 <!-- File Description: Set the color of the table border-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the color of the table border</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699>
12 <TR>
13 <TD>Web Graphics Software</TD><TD>Fireworks</TD>
14 </TR>
15 <TR>
16 <TD>Web page creation software</TD><TD>Dreamweaver</TD>
17 </TR>
18 <TR>
19 <TD>Web animation software</TD><TD>Flash</TD>
20 </TR>
21 </TABLE>
22 </BODY>
23 </HTML>
File Description <br />Line 11 defines the border color of the table as #336699.

<<:  Nginx configuration and compatibility with HTTP implementation code analysis

>>:  Detailed tutorial on how to create a user in mysql and grant user permissions

Recommend

W3C Tutorial (16): Other W3C Activities

This section provides an overview of some other i...

Vue-cli creates a project and analyzes the project structure

Table of contents 1. Enter a directory and create...

How to Fix File System Errors in Linux Using ‘fsck’

Preface The file system is responsible for organi...

Why should css be placed in the head tag

Think about it: Why should css be placed in the h...

Detailed explanation of common MySQL operation commands in Linux terminal

Serve: # chkconfig --list List all system service...

onfocus="this.blur()" is hated by blind webmasters

When talking about the screen reading software op...

CSS border half or partially visible implementation code

1. Use pseudo-classes to display half of the Bord...

JavaScript data structure bidirectional linked list

A singly linked list can only be traversed from t...

Detailed tutorial for installing mysql5.7.21 under Windows system

MySQL Installer provides an easy-to-use, wizard-b...

Introducing multiple custom fonts in CSS3

Today I found a problem in HTML. There are many d...

Two problems encountered when deploying rabbitmq with Docker

1. Background The following two problems are enco...

Mysql 8.0 installation and password reset issues

Mysql 8.0 installation problems and password rese...

Detailed explanation of Vue login and logout

Table of contents Login business process Login fu...

A complete guide on how to query and delete duplicate records in MySQL

Preface This article mainly introduces the method...

Centos8.3, docker deployment springboot project actual case analysis

introduction Currently, k8s is very popular, and ...