where should I put it, if I want to add an image, css or html?
old_apache
15
Junior Poster in Training
Recommended Answers
Jump to PostThe easiest way to add an image is via HTML, using the
<img/>
element. However, you can assign a background image to certain elements.I don't think there is a right or wrong.. What are you trying to accomplish?
Jump to PostGenerally, if its part of the page or menu structure then put it in the CSS, using the background-image property.
If its part of the content, then in the markup. That way you can make sure the Alt tag is filled out properly and an individual that's using an AT …
All 6 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
old_apache
15
Junior Poster in Training
oanahmed
0
Light Poster
Troy III
272
Posting Pro
BMXDad
23
Newbie Poster
travis.holt.921_2
commented:
I agree!
+0
old_apache
15
Junior Poster in Training
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.