HTML table tag tutorial (13): internal border style attributes RULES

HTML table tag tutorial (13): internal border style attributes RULES

RULES can be used to control the style of the internal border of the table.
Basic syntax
<TABLE reles="value">
Syntax
The values ​​of value are shown in the following table:
Table internal border style property value Description All Display all internal borders Cols Display row borders only Groups Display borders between rows and columns None Do not display internal borders Rows Display column borders only
Document example: 10-13.htm
Sets the style of the table's inner border.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-13.htm -->
03 <!--File Description: Set the internal border style of the table-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the internal border style of the table</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 CellSpacing=10 CellPadding=25 ALIGN="CENTER" rules=rows>
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 internal border style of the table to display only row borders.

<<:  Native JS to achieve draggable login box

>>:  Solution to mysql error code 1064

Recommend

JS+Canvas draws a lucky draw wheel

This article shares the specific code of JS+Canva...

How to manage large file uploads and breakpoint resume based on js

Table of contents Preface Front-end structure Bac...

About the problems of congruence and inequality, equality and inequality in JS

Table of contents Congruent and Incongruent congr...

The linkage method between menu and tab of vue+iview

Vue+iview menu and tab linkage I am currently dev...

Xftp download and installation tutorial (graphic tutorial)

If you want to transfer files between Windows and...

How to cancel the background color of the a tag when it is clicked in H5

1. Cancel the blue color of the a tag when it is ...

Detailed steps to implement the Excel import function in Vue

1. Front-end-led implementation steps The first s...

Quickly learn MySQL basics

Table of contents Understanding SQL Understanding...

Basic knowledge of MySQL database

Table of contents 1. Understanding Databases 1.1 ...

Echarts legend component properties and source code

The legend component is a commonly used component...

How to migrate mysql storage location to a new disk

1. Prepare a new disk and format it with the same...

Problems with creating placeholders for HTML selection boxes

I'm using a placeholder in a text input and i...

Summary of MySQL ALTER command knowledge points

When we need to change the table name or modify t...

mysql calculation function details

Table of contents 2. Field concatenation 2. Give ...