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

JavaScript to achieve calendar effect

This article shares the specific code for JavaScr...

Writing Snake Game with Native JS

This article shares the specific code of writing ...

Complete steps for using Echarts and sub-packaging in WeChat Mini Program

Preface Although the holiday is over, it shows up...

JavaScript type detection method example tutorial

Preface JavaScript is one of the widely used lang...

C# implements MySQL command line backup and recovery

There are many tools available for backing up MyS...

Web componentd component internal event callback and pain point analysis

Table of contents Written in front What exactly i...

MySQL query statement grouped by time

MySQL query by year, month, week, day group 1. Qu...

A brief introduction to web2.0 products and functions

<br />What is web2.0? Web2.0 includes those ...

Pure CSS to achieve cloudy weather icon effect

Effect The effect is as follows ​ Implementation ...

How to deploy MySQL master and slave in Docker

Download image Selecting a MySQL Image docker sea...

Use the njs module to introduce js scripts in nginx configuration

Table of contents Preface 1. Install NJS module M...

jQuery implements form validation

Use jQuery to implement form validation, for your...

How to use CSS styles and selectors

Three ways to use CSS in HTML: 1. Inline style: s...