skip to Main Content

I’m currently learning HTML and trying to enhance my web pages by incorporating images. While I understand the basics of HTML . I am new at web development started to learn html and issue occur that how to add photo in web page

2

Answers


  1. See below:

    <img width="200px" src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8f/Example_image.svg/1200px-Example_image.svg.png">
    Login or Signup to reply.
  2. <img src="pathtoimagefile/imagefilename.jpg">
    

    Change the value of src attribute to the path of the image

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search