我们如何添加或使用“rel” asp.net超链接控件中的元素? [英] How do we add or use "rel" element in asp.net hyperlink control?

查看:52
本文介绍了我们如何添加或使用“rel” asp.net超链接控件中的元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我需要帮助找出asp.net超链接控件中相应的rel元素。



说我有这个:

Hi,

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

Say i have this:

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



我该怎么写这个我n asp超链接?


How can I write this in asp hyperlink?

推荐答案

你可以完全按照你的样本编写它来编写它,但这样做没有多大意义且无效。此属性的使用方式不同: http://www.w3schools.com/TAGS/att_a_rel.asp [ ^ ]。



-SA
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


这篇关于我们如何添加或使用“rel” asp.net超链接控件中的元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆