64 689
Assignments Done
99,3%
Successfully Done
In September 2018

Answer to Question #28170 in AJAX | JavaScript | HTML | PHP for david woods

Question #28170
How can i nsert a picture box into my webpage.Help me with the code.Thank you
Expert's answer
To insert image box in your web page you can use HTML tag<img>. This tag has following attributes:
src - URL (path) to your image file.
alt - alternate text for the image.
etc.

Few examples of usage:

We want to insert an image image.png to the web page page.html

<img src="image.png" alt="This isimage" /> - image.png is in the same folder as page.html.
<img src="img/image.png" alt="This isimage" /> - img folder is in the same folder as page.html, image.png is
in the img folder.
<img src="http://example.com/img/image.png"alt="This is image" /> - image.png is accessible via URL http://example.com/img/image.png.
<img src="../img/image.png" alt="This isimage" /> - you can use relative path to image.png.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions