"."/> ".">
Home >Web Front-end >Front-end Q&A >How to quote css images
How to reference images in css: 1. Create a new folder for images, usually image; 2. Create an html file in the same directory; 3. Use the img tag to introduce images into the html file, syntax "".
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
css reference pictures Step 1: Create a new images folder and put in a few pictures.
css reference image Step 2: Create an HTML file in the same directory.
css reference image Step 3: Insert 1.jpg under the images folder into HTML.
<img src="image/1.jpg" alt=""/>
Recommended learning: css video tutorial
The above is the detailed content of How to quote css images. For more information, please follow other related articles on the PHP Chinese website!