Click here to Skip to main content
15,909,835 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I need help in finding out the corresponding rel element in asp.net hyper link control.

Say i have this:
HTML
<a href="http://www.somewebsite.com" class="screenshot" rel="my_img.jpg" title="Sample title text">

How can I write this in asp hyperlink?
Posted
Updated 26-May-13 17:13pm
v3

1 solution

You can write it exactly as it is written in you sample, which, however, does not make much sense and not valid. The use of this attribute is different: http://www.w3schools.com/TAGS/att_a_rel.asp[^].

—SA
 
Share this answer
 
Comments
Chris N.P. 26-May-13 22:43pm    
How can I convert the given code to <asp:hyperlink>?
David_Wimbley 26-May-13 23:55pm    
What given code are you asking about? your code? or the code from the w3schools sample?
Chris N.P. 26-May-13 23:59pm    
The one that I provided.
Chris N.P. 27-May-13 0:02am    
And the code that I provided is connected to a jquery.
Sergey Alexandrovich Kryukov 27-May-13 0:35am    
Can't you see: it makes no sense?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900