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

Form submission refresh page does not jump source code design

1. Design source code Copy code The code is as fol...

An example of how JavaScript can prevent duplicate network requests

Preface During development, we often encounter va...

How to deploy k8s in docker

K8s k8s is a cluster. There are multiple Namespac...

Explanation of nginx load balancing and reverse proxy

Table of contents Load Balancing Load balancing c...

Examples of using HTML list tags dl, ul, ol

Copy code The code is as follows: <!-- List ta...

JDBC Exploration SQLException Analysis

1. Overview of SQLException When an error occurs ...

An example of the calculation function calc in CSS in website layout

calc is a function in CSS that is used to calcula...

52 SQL statements to teach you performance optimization

1. To optimize the query, try to avoid full table...

Install and build a server environment of PHP+Apache+MySQL on CentOS

Yum (full name Yellow dog Updater, Modified) is a...

Image scrolling effect made with CSS3

Achieve resultsImplementation Code html <base ...

jQuery plugin to implement minesweeper game (2)

This article shares the second article of using j...

A brief analysis of kubernetes controllers and labels

Table of contents 01 Common controllers in k8s RC...

How to configure the pdflatex environment in docker

Technical Background Latex is an indispensable to...

Vue Router loads different components according to background data

Table of contents Requirements encountered in act...