"."/> ".">

Home  >  Article  >  Web Front-end  >  How to quote css images

How to quote css images

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-04-15 19:39:494466browse

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 "How to quote css images".

How to quote css images

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.

How to quote css images

How to quote css images

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!

Statement:
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