element for image
What the best element to use on an image?
<p class="pictureperfect"> or <img class="pictureperfect" alt=""> or etc...
to get the effect i think you're looking for, you should use a block-level element such as a <DIV>
as the person stated above a div is a nice choice
but you can choose anything really...
even inline-level elements.
to inline-level elements to have them behave like a block-level element.
but a paragraph tag is a bad choice anyway.
Well actually, if that's a submit button (which it looks like it is), you should use an input submit image:
Also, if it's just a simple little image like that and not a background image (part of the layout), it's fine to just use an <img /> tag with an appropriate ALT attribute.
<input type="image" src="../images/searcharrow.gif" value="Submit" alt="Submit" />
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)