HTML table markup tutorial (37): background image attribute BACKGROUND

HTML table markup tutorial (37): background image attribute BACKGROUND

Set the background image for the table header. You can use any GIF or JPEG image file.
Basic syntax
<TH BACKGROUND=FILE_name>
Syntax explanation <br />When defining a background image, write down the full path or relative path of the image file.
File example: 10-35.htm
Set the background image of the table header.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-35.htm -->
03 <!-- File Description: Set the background image of the header -->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the background image of the header</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 <TH Background=10-8.jpg>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 background image of the header as 10-8.jpg.

<<:  Tomcat uses thread pool to handle remote concurrent requests

>>:  WeChat applet custom bottom navigation bar component

Recommend

A solution to a bug in IE6 with jquery-multiselect

When using jquery-multiselect (a control that tra...

Win10 + Ubuntu20.04 LTS dual system boot interface beautification

Effect display The built-in boot interface is too...

How to bypass unknown field names in MySQL

Preface This article introduces the fifth questio...

Solve the problem of mysql's int primary key self-increment

Introduction When we use the MySQL database, we a...

MySQL optimization connection optimization

In the article MySQL Optimization: Cache Optimiza...

Docker installation and configuration steps for RabbitMQ

Table of contents Single-machine deployment Onlin...

Detailed explanation of the payment function code of the Vue project

1. Alipay method: Alipay method: Click Alipay to ...

How to let https website send referrer https and http jump referrer

This article describes a proposal for a metadata ...

Example code for drawing double arrows in CSS common styles

1. Multiple calls to single arrow Once a single a...

Docker deployment and installation steps for Jenkins

First, we need a server with Docker installed. (I...

Summary of three rules for React state management

Table of contents Preface No.1 A focus No.2 Extra...

How to mount the CD to find the rpm package under Linux

Written in front Sometimes you need to install so...

Circular progress bar implemented with CSS

Achieve results Implementation Code html <div ...