HTML table markup tutorial (13): inner border style attributes rules

Time:2022-6-11

Rules allows you to control the style of the table’s internal borders.
Basic grammar

<TABLE reles=”value”>

Grammatical interpretation

The values of value are shown in the following table:
Internal border style of the table
Attribute value
DescriptionAll
Document example: 10-13 htm

Sets the internal border style of the table.
01 <!– —————————— –>
02 <!– Document 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 image software </td><td>fireworks</td>
14 </TR>
15 <TR>
16 <td> web page making 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>

Document description

Row 11 defines that the style of the table’s internal border is to display only row borders.

Recommended Today

[Design Patterns] Design Patterns – Design Principles

Design Patterns – Design Principles 1. Single principle The English name of the Single Responsibility Principle is the Single Responsibility Principle, or SRP for short. The Single Responsibility Principle states that a class should have one and only one reason for it to change, otherwise the class should be split. There should never be more […]