Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Wrapping input button with A tag: OK?
- Matthew Wilson
August 5, 2008, 3:14 pm
rate this thread
Re: Wrapping input button with A tag: OK?
Stop needing that. You don't need to mislead people into confusing
buttons with links.
How many browsers did you test it on? The construct is illogical, since
both links and input buttons can be activated, so what happens when you
click on something that is both a link and an input button? Does it
invoke the inner element's functionality, or the outer element's, or
both elements'? Did you already check it on IE 9 and Firefox 4?
It is valid (even in HTML 4.01, though with a meaning different from
XHTML), but this does not imply that some meaning or specific
functionality has been assigned to it.
Jukka K. Korpela ("Yucca")