0
How to insert an image?
what does it mean by "in the same html file "?
2 ответов
+ 1
Just include <img src=“image_source.jpg” /> in your HTML file. The “image_source” will be whatever you named the image, and the “jpg” depends on the extension of your image file, so it could be .gif, .png, .svg, .jpg, et cetera.
Make sure your image exists in the same folder as your HTML file. You may also add a folder to the same folder as your HTML file and store the image there. Just access it with
<img src=“folder_name/image_source.jpg” />
0
There are already similar (if not identical) questions posted. You can find the answers using the search bar.
Please help keep the quality of posts high in this section of the forum by reviewing the following:
https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community/
Be sure not to miss the link to the Community Guidelines toward the bottom of the article.
Happy coding!
P.S. Please see the following post for a humorous interpretation (but still an earnest plea).
https://www.sololearn.com/post/10362/?ref=app