HTML table markup tutorial (38): Border color attribute of the header BORDERCOLOR

HTML table markup tutorial (38): Border color attribute of the header BORDERCOLOR

To beautify the table, you can set different border colors for the header.
Basic syntax
<TH Bordercolor=color_VALUE>
Syntax explanation <br />When defining colors, you can use English color names or hexadecimal color values.
File example: 10-36.htm
Set the color of the header border.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-36.htm -->
03 <!-- File Description: Set the color of the header border-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the color of the header border</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100>
12 <TR>
13 <TH Bordercolor=#336699>Web Graphics Software</TH><TH>Fireworks</TH>
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 13 defines the border color of the header as #336699.

<<:  Detailed explanation of the differences and usages of Linux system shutdown commands

>>:  Vant uploader implements the drag-and-drop function for uploading pictures (set as cover)

Recommend

A brief discussion on several situations where MySQL returns Boolean types

mysql returns Boolean type In the first case, ret...

How to use vuex in Vue project

Table of contents What is Vuex? Vuex usage cycle ...

How to convert extra text into ellipsis in HTML

If you want to display extra text as ellipsis in ...

How to modify the mysql table partitioning program

How to modify the mysql table partitioning progra...

Sample code for implementing DIV suspension with pure CSS (fixed position)

The DIV floating effect (fixed position) is imple...

How to implement a simple HTML video player

This article introduces the method of implementin...

Use JS to zoom in and out when you put the mouse on the image

Use JS to zoom in and out when the mouse is on th...

Solve the problem that Navicat cannot connect to MySQL on the Linux server

At the beginning, I felt sad. The screenshots are...

25 CSS frameworks, tools, software and templates shared

Sprite Cow download CSS Lint download Prefixr dow...

The main idea of ​​​​dynamically setting routing permissions in Vue

I have seen some dynamic routing settings on the ...

Detailed explanation of Vue's monitoring properties

Table of contents Vue monitor properties What is ...

A brief discussion on JavaScript scope

Table of contents 1. Scope 1. Global scope 2. Loc...

WEB Chinese Font Application Guide

Using fonts on the Web is both a fundamental skill...