Home › Forums › CSS › <a> tag with no href › Re: tag with no href
July 26, 2010 at 3:04 am #80372
Plus if you are just using it like span and not an anchor, you should just use a span
Sure, but there is nothing wrong with <a> tags without href, only if you use it in the right way though A span is a span, and anchor is an anchor etc..
Yes but if you are using it to launch the functionality is still a click – which means it is still an anchor tag. If you are choosing what to wrap some text in and choose an A over a SPAN then that is incorrect. You need to stick to the usage of the tag at least a little