0

Hello
Is it possible to use an <a href> tag without adding any text link to it, usually we write <a href="....">Link to text</a>, but I want to omit the Link to text part, which however is completely removing my a tag. Any solution to this? I need the <a> tag because am using the hover part for rollover effect

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by Ritesh_4
1

how will the emplty a-Tag will remove the text?
if you use no content for a, it will have a width of 0 and a height of 0 too, if you want the a-tag not to be displayed use css:

#a {display:none;}

if you want to show the a-tag but have a content, thats transparent use nbsp:

<a href="....">&nbsp;</a>
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.