HTML table tag tutorial (8): background image attribute BACKGROUND

HTML table tag tutorial (8): background image attribute BACKGROUND

Set a background image for the table. You can use any GIF or JPEG image file.
Basic syntax
<TABLE 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-8.htm
Sets the background image of the table.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-8.htm -->
03 <!-- File Description: Set the background image of the table-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the background image 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 Background=10-8.jpg>
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 background image of the table as 10-8.JPG

<<:  Analysis of the principle of Rabbitmq heartbea heartbeat detection mechanism

>>:  An example of elegant writing of judgment in JavaScript

Recommend

HTML hyperlink a tag_Powernode Java Academy

Anyone who has studied or used HTML should be fam...

Details of function nesting and closures in js

Table of contents 1. Scope 2. Function return val...

Windows system mysql5.7.18 installation graphic tutorial

MySQL installation tutorial for Windows system do...

Complete step record of Vue encapsulation of general table components

Table of contents Preface Why do we need to encap...

Linux command line operation Baidu cloud upload and download files

Table of contents 0. Background 1. Installation 2...

CSS3 gradient background compatibility issues

When we make a gradient background color, we will...

How to achieve centered layout in CSS layout

1. Set the parent container to a table and the ch...

Collection of 25 fonts used in famous website logos

This article collects the fonts used in the logos...

Detailed explanation of MySQL high availability architecture

Table of contents introduction MySQL High Availab...

Solution to the error problem of Vscode remotely connecting to Ubuntu

1. Background of the incident: Because of work ne...

Introduction to MyCat, the database middleware

1. Mycat application scenarios Mycat has been dev...

Basic reference types of JavaScript advanced programming

Table of contents 1. Date 2. RegExp 3. Original p...

How to implement interception of URI in nginx location

illustrate: Root and alias in location The root d...