Jump to content

HTML images

Aravind Busarapu

Recommended Posts

Hello. This Is Aravind. While I was adding image to my HTML page, firstly i have saved all the needed mages in a folder. I was not getting the images in my web pages, i was getting the text that I was mentioning in the alt"" .  The address of the image is  not getting. Can you please help me to solve this problem?

Link to comment
Share on other sites

What Lana said isn’t  always practical and there’s still the question why the alt gets displayed and the src doesn’t.

Please post your code and verify the the src target exists with the EXACT spelling and capitalization.


Including EXACT spelling and capitalization for the entire path

Edited by niche
Link to comment
Share on other sites

Because the alt is a attribute that it part of img tag and is always viewable (if text description present)  to the browser, the src attribute is a external file link, if the path is wrong, no image will show, but! the alt attribute text value will.

right-click image and select inspect, It  should show that img element, check the src has the correct path, you can right-click that img tag element within inspector window and 'edit as html' to edit the path directly if you discover an error. Once finished click outside the edit box, and it show img element with new src and if correct the image on web page.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...