Picture introduction
Ollie
Ollie 2018-10-04 10:40:51
0
1
1396

Teacher, my html document is in one folder and the pictures are in another folder. How should I introduce pictures?

Ollie
Ollie

reply all(1)
Peter-Zhu

Use the src attribute of the <img> tag to import it. Pay attention to the path of the imported image:

  1. If the image is at the same level as your document, you can directly use the image name: < img src="xxx.jpg">

  2. If the image is located in the upper-level directory images of the document: <img src="../images/xxx.jpg"&gt ;

  3. If the image is located in the lower-level directory images of the document: <img src="images/xxx.jpg">

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template