I was wondering, are there any SEO benefits (or pitfalls) to using a <button> over a <a href=“”> in HTML \ XHTML documents for links?
I fancy doing this on the two main ‘call to action’ buttons on a site im working on. Just so if the site is ever viewed without the style sheet loaded the buttons would stand out more than a standard blue link.
Buttons are used in forms and form submissions, or to indicate that an action will be performed (save, cancel, show dancing hamsters on the screen, etc)
Im not really, just want to make sure i build it the best way possible, so if it ever was viewed without CSS applied the call to action ‘buttons’ would still be demanding of the viewers attention due to their size. Purely aesthetics.
Thanks for replying and clearing that up for me tho. I appreciate it
But of course you would have alt text in the image tag, so that would display if the image couldn’t. And if images are off then quite honestly, worrying too much about the graphic display is a bit of a waste of time!
Yes We have benefits in using button tag over HREF tag. Because, visitors doesn’t knew the link in the site. So, using the link & passes it easily by the button. But in sometimes the button image doesn’t load. So, it will make an issue.