0 votes
114 views
in HTML by (3.5k points)
edited

How to add image in HTML from a folder?

1 Answer

0 votes
by (3.5k points)
edited
  1. Copy the image from your images folder.
  2. Open up the index.
  3. Code:  <img src=”” alt=”My test image“> is the HTML code that inserts an image into the page.
  4. Insert the file path into your HTML code between the double quote marks of the src=”” code.

Related questions

0 votes
1 answer 134 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 82 views
0 votes
1 answer 88 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 104 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 116 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 161 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

554 users

...