I'm learning html and having a lot of trouble understanding the use of the src attribute to load an image from local storage, such as the images directory on my hard drive or, when the webpage is uploaded to my webhost, the images directory of my webhost. Can someone please refer me to a summary of the basic information on that? Or, if I should use an attribute other than src, please let me know that as well.
Proglearner
0
Light Poster
Recommended Answers
Jump to PostDear "Proglearner", Frist of all here's a link to the best HTML web tutorial:
(IMAGE TAG)
http://www.w3schools.com/html/html_images.aspAfter reading this I think you will be able to more understand what is the src …
Jump to PostThere are a few techniques you can use to center an image. Text-align would work, but i generally use the technique of styling the image as a block element then applying a left and right margin to auto. Here is an example. In your stylesheet...
img.center {display: …
All 6 Replies
cmps
26
Light Poster
Proglearner
0
Light Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Proglearner
0
Light Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Proglearner
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.