Get the App
SLTechnology News&Howtos  ›  Development  › 

How does html write the path of the picture?

Shulou Source: shulou.com Published: 2022-06-03 17:12:40 11月13日 Update

This article introduces the knowledge of "how to write the path of pictures in html". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

In Html

How to use the picture path

1. Html file and .jpg file (f disk) are in different directories:

2. The .html file is in the same directory as the .jpg image:

3. The image .jpg is in the image folder, and html and image are in the same directory:

4. If the picture comes from the network, write the absolute path:

This is the end of the content of "how to write the path of a picture in html". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Pictures paths files directories content more knowledge different practical same successful learning next dilemma reality situation tutorials folders articles ways sources Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Huawei NVidia vpn Microsoft