Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (idealist10):

How do I add image to my web page?

OpenStudy (idealist10):

I know that the img element is <img src="logo.png" alt="My Logo"> but I don't know what to type between the 2 quotation marks.

OpenStudy (idealist10):

@amistre64

OpenStudy (amistre64):

img is a tag denoting an image to display src is its location, if its not in the same folder as the webpage itself, then you have to define it by its full path. alt is just something to see if a webpage doesnt load images, or maybe as a rollover

OpenStudy (amistre64):

also, are you coding in in html? or something else?

OpenStudy (amistre64):

when i have to refresh my html skills i reference: http://www.w3schools.com/tags/tag_img.asp

OpenStudy (lyrae):

Alt is also used by browsers for the visually impaired.

OpenStudy (anonymous):

The alt attribute also improves SEO considerably when images play an important role in the description of the content.

OpenStudy (idealist10):

Thank you guys.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!