Home > Web Front-end > Front-end Q&A > How to illustrate html form

How to illustrate html form

藏色散人
Release: 2023-01-03 09:31:25
Original
16113 people have browsed it

How to implement form illustrations: 1. Use img tags to implement illustrations, code such as ""; 2. Use CSS background image illustration, code such as "".

How to illustrate html form

The operating environment of this tutorial: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

The adding method is as follows:

1. Adding pictures to the table can be achieved by using the img tag or using the css background image. The code is as follows:

<table><tr><td><img src="xx.jpg"></td></tr></table>
Copy after login

css is implemented as follows:

<table><tr><td style="background:url(xx.jpg);"></td></tr></table>
Copy after login

The images are all set in the td tag.

2. The text also needs to be written in the middle of the td tag, as follows:

<table><tr><td>文字</td></tr></table>
Copy after login

[Recommended tutorial: "html video tutorial"][Recommended tutorial: CSS Video tutorial

The above is the detailed content of How to illustrate html form. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template