Home >Web Front-end >Front-end Q&A >How to illustrate html form
How to implement form illustrations: 1. Use img tags to implement illustrations, code such as "b6c5a531a458a2e790c1fd6421739d1ccb917d9628a5064aefd5386940e5854eb90dd5946f0946207856a8a37f441edf"; 2. Use CSS background image illustration, code such as "df480b9b562888376a31f582c0cc1240".
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>
css is implemented as follows:
<table><tr><td style="background:url(xx.jpg);"></td></tr></table>
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>
[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!