﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Java之旅-文章分类-HTML</title><link>http://www.blogjava.net/hoocoral/category/26851.html</link><description>Record my Java-learning process.</description><language>zh-cn</language><lastBuildDate>Fri, 26 Oct 2007 14:38:50 GMT</lastBuildDate><pubDate>Fri, 26 Oct 2007 14:38:50 GMT</pubDate><ttl>60</ttl><item><title>改进超链接效果法则</title><link>http://www.blogjava.net/hoocoral/articles/156093.html</link><dc:creator>胡昆荣</dc:creator><author>胡昆荣</author><pubDate>Fri, 26 Oct 2007 04:37:00 GMT</pubDate><guid>http://www.blogjava.net/hoocoral/articles/156093.html</guid><wfw:comment>http://www.blogjava.net/hoocoral/comments/156093.html</wfw:comment><comments>http://www.blogjava.net/hoocoral/articles/156093.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hoocoral/comments/commentRss/156093.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hoocoral/services/trackbacks/156093.html</trackback:ping><description><![CDATA[<span style="font-size: 9pt; color: black; font-family: Verdana">Hyperlinks enable people to jump instantly from page to page, or site to site. Such power can create anxiety.</span>
<p><span style="font-size: 9pt; color: black; font-family: 宋体">超链接可以使访问者从一个页面跳转至另外一个页面，或从一个站点跳转至另外一个站点。但是，这种频繁的跳转可能使人们产生焦虑。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">To help users browse with confidence, links should be absolutely clear and explicit. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">为了方便用户更好的浏览页面，超链接必须绝对的简洁明了。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">Principles <br />
</span></strong><strong><span style="font-size: 9pt; color: black; font-family: 宋体">法则</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">1. Text hyperlinks should be clearly distinguishable from normal text. <br />
&nbsp;</span><span style="font-size: 9pt; color: black; font-family: 宋体">超链接文字必须与普通的内容文字相区别</span><span style="font-size: 9pt; color: black; font-family: Verdana"><br />
<br />
2. Any mouseover behaviour should have a highlighting effect.<br />
&nbsp;</span><span style="font-size: 9pt; color: black; font-family: 宋体">鼠标移动到超链接上时必须要显示突出效果</span><span style="font-size: 9pt; color: black; font-family: Verdana"><br />
<br />
3.Hyperlink content should be as short as possible, yet long enough to identify either:<br />
&nbsp;</span><span style="font-size: 9pt; color: black; font-family: 宋体">超链接的具体内容必须要言简意赅（短而精）：</span></p>
<p style="background: white 0% 50%; margin-left: 27pt; text-indent: 0cm; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left">&lt;!--[if !supportLists]--&gt;<span style="font-size: 9pt; color: black; font-family: Wingdings"><strong>&#183;</strong><span style="font: 7pt 'Times New Roman'; font-size-adjust: none; font-stretch: normal"> &nbsp;&nbsp;&nbsp; </span></span>&lt;!--[endif]--&gt;<span style="font-size: 9pt; color: black; font-family: Verdana">Where you'll go [</span><span style="font-size: 9pt; color: black; font-family: 宋体">跳转地址</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span></p>
<p style="background: white 0% 50%; margin-left: 27pt; text-indent: 0cm; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left">&lt;!--[if !supportLists]--&gt;<span style="font-size: 9pt; color: black; font-family: Wingdings"><strong>&#183;</strong><span style="font: 7pt 'Times New Roman'; font-size-adjust: none; font-stretch: normal">&nbsp;&nbsp;&nbsp;&nbsp; </span></span>&lt;!--[endif]--&gt;<span style="font-size: 9pt; color: black; font-family: Verdana">What you'll get [</span><span style="font-size: 9pt; color: black; font-family: 宋体">希望获取什么内容</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span></p>
<p style="background: white 0% 50%; margin-left: 27pt; text-indent: 0cm; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left">&lt;!--[if !supportLists]--&gt;<span style="font-size: 9pt; color: black; font-family: Wingdings"><strong>&#183;</strong><span style="font: 7pt 'Times New Roman'; font-size-adjust: none; font-stretch: normal"> &nbsp;&nbsp;&nbsp;&nbsp; </span></span>&lt;!--[endif]--&gt;<span style="font-size: 9pt; color: black; font-family: Verdana">What you want to happen [</span><span style="font-size: 9pt; color: black; font-family: 宋体">希望产生什么效果</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">4. Hyperlinks with different targets should be clearly distinguishable. <br />
&nbsp;</span><span style="font-size: 9pt; color: black; font-family: 宋体">指向不同目标的超链接必须要清晰可辨</span><span style="font-size: 9pt; color: black; font-family: Verdana"><br />
<br />
5. Hyperlinks should give an indication of any unanticipated consequences, e.g.:<br />
&nbsp;</span><span style="font-size: 9pt; color: black; font-family: 宋体">对点击超链接后会出现的特殊情况加以解释，如：</span></p>
<p style="background: white 0% 50%; margin-left: 27pt; text-indent: 0cm; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left">&lt;!--[if !supportLists]--&gt;<span style="font-size: 9pt; color: black; font-family: Wingdings"><strong>&#183;</strong><span style="font: 7pt 'Times New Roman'; font-size-adjust: none; font-stretch: normal">&nbsp;&nbsp;&nbsp;&nbsp; </span></span>&lt;!--[endif]--&gt;<span style="font-size: 9pt; color: black; font-family: Verdana">Links to files [</span><span style="font-size: 9pt; color: black; font-family: 宋体">链接至一个文件</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span></p>
<p style="background: white 0% 50%; margin-left: 27pt; text-indent: 0cm; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left">&lt;!--[if !supportLists]--&gt;<span style="font-size: 9pt; color: black; font-family: Wingdings"><strong>&#183;</strong><span style="font: 7pt 'Times New Roman'; font-size-adjust: none; font-stretch: normal"> &nbsp;&nbsp;&nbsp;&nbsp; </span></span>&lt;!--[endif]--&gt;<span style="font-size: 9pt; color: black; font-family: Verdana">Links that open or close windows [</span><span style="font-size: 9pt; color: black; font-family: 宋体">点击链接后会打开或关闭窗口</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">What do you make a link?</span></strong><span style="font-size: 9pt; color: black; font-family: Verdana"> <br />
</span><strong><span style="font-size: 9pt; color: black; font-family: 宋体">考虑一下制作这个超链接的目的是什么</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">Hyperlink content example: </span></strong><strong><span style="font-size: 9pt; color: rgb(51,102,255); font-family: Verdana"><a href="http://www.webdesign.org/goout.php?to=www.amapproved.com" target="_blank"><span style="font-size: 10pt; color: rgb(51,102,255)">Amapproved.com</span></a></span></strong><span style="font-size: 9pt; color: black; font-family: Verdana"> <br />
</span><strong><span style="font-size: 9pt; color: black; font-family: 宋体">超链接内容举例：</span></strong><strong><span style="font-size: 9pt; color: rgb(51,102,255); font-family: Verdana"><a href="http://www.webdesign.org/goout.php?to=www.amapproved.com" target="_blank"><span style="font-size: 10pt; color: rgb(51,102,255)">Amapproved.com</span></a></span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">A site for locating approved Aston Martins, and it's good on the whole. This is the search results screen. Guess how you get from search results to see the details on a particular vehicle? The only link is the vehicle model (in the Vehicle summary column). <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">这个案例是</span><span style="font-size: 9pt; color: black; font-family: Verdana">Aston Martins [</span><span style="font-size: 9pt; color: black; font-family: 宋体">阿斯顿&#183;马丁</span><span style="font-size: 9pt; color: black; font-family: Verdana">] </span><span style="font-size: 9pt; color: black; font-family: 宋体">汽车的网站。可以这样说，它的整体外观设计堪称经典。这是一个搜索结果显示页面。那么现在，你想象一下，该如何通过搜索结果的方式来查阅有关车辆的详细介绍。这里仅有的超链接就是关于&#8220;</span><span style="font-size: 9pt; color: black; font-family: Verdana">Vehicle summary column [</span><span style="font-size: 9pt; color: black; font-family: 宋体">车辆基本列表</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span><span style="font-size: 9pt; color: black; font-family: 宋体">&#8221;中的&#8220;</span><span style="font-size: 9pt; color: black; font-family: Verdana">vehicle model[</span><span style="font-size: 9pt; color: black; font-family: 宋体">车辆模型</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span><span style="font-size: 9pt; color: black; font-family: 宋体">&#8221;。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">The first, and biggest problem, is that you can't distinguish the hyperlinks, breaking Principle 1. You don't know where to click to get more information: you have to guess.<br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">首先所面临的最大问题就是，你不能区分那个是超链接。这违反了法则</span><span style="font-size: 9pt; color: black; font-family: Verdana">1</span><span style="font-size: 9pt; color: black; font-family: 宋体">，即：你不知道该点击那里来获取更多的信息，因此，你必须先考虑这个问题</span></p>
<p><a href="http://www.w3pop.com/tech/upfile/Image/design/Basic/clearHyperlinks/amapproved_b.gif"><img style="border-right: rgb(204,204,204) 2px solid; border-top: rgb(204,204,204) 2px solid; border-left: rgb(204,204,204) 2px solid; border-bottom: rgb(204,204,204) 2px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/amapproved_s.gif" /></a><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click to enlarge [点击放大]</p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">The second problem is: The links look the same although they point to completely different targets (each one is a different used Aston Martin). This breaks Principle 4. Because all the links on this page have the same content (the vehicle model), it's even less obvious that they might be the link. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">第二个问题是：尽管这些链接指向完全不同的目标（每个不同的链接都使用了名称&#8220;</span><span style="font-size: 9pt; color: black; font-family: Verdana">Aston Martin</span><span style="font-size: 9pt; color: black; font-family: 宋体">&#8221;），但它们看上去几乎一样，这就违反了上述的法则</span><span style="font-size: 9pt; color: black; font-family: Verdana">4</span><span style="font-size: 9pt; color: black; font-family: 宋体">；再加上所有的链接都包含了相同的内容</span><span style="font-size: 9pt; color: black; font-family: 宋体">（</span><span style="font-size: 9pt; color: black; font-family: Verdana">vehicle model [</span><span style="font-size: 9pt; color: black; font-family: 宋体">车辆类型</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span><span style="font-size: 9pt; color: black; font-family: 宋体">），这就使得超链接更加不明显。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">If I click on "Aston Martin DB7 GT", I would expect to get general information about the Aston Martin DB7 GT car. This breaks Principle 3, because the link is not accurately describing what I'll get if I click it. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">如果我点击&#8220;</span><span style="font-size: 9pt; color: black; font-family: Verdana">Aston Martin DB7 GT</span><span style="font-size: 9pt; color: black; font-family: 宋体">&#8221;这个链接，希望获取关于&#8220;</span><span style="font-size: 9pt; color: black; font-family: Verdana">Aston Martin DB7 GT</span><span style="font-size: 9pt; color: black; font-family: 宋体">&#8221;型汽车的大体信息。但是，我发现最终获取的信息和链接的描述存在出入。那么，这就违反了法则</span><span style="font-size: 9pt; color: black; font-family: Verdana">3</span><span style="font-size: 9pt; color: black; font-family: 宋体">。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">What should they do?<br />
</span></strong><strong><span style="font-size: 9pt; color: black; font-family: 宋体">网站该如何改进？</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">The "thing you get" is the information about a particular car. The thing that represents the particular car is the entire table row. There is no other unique identifier for the car (mileage, price etc. aren't necessarily unique). Therefore, the whole row should be the clickable hyperlink. (It would also be helpful if the row changed colour/tone on mouseover). <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">&#8220;</span><span style="font-size: 9pt; color: black; font-family: Verdana">thing you get [</span><span style="font-size: 9pt; color: black; font-family: 宋体">你所获取的资料</span><span style="font-size: 9pt; color: black; font-family: Verdana">]</span><span style="font-size: 9pt; color: black; font-family: 宋体">&#8221;应该是与一辆汽车相关的信息，这些代表特定车型的信息应该占据整个表格列；同时，因为这里没有包含具体车型信息（如：英里数、价格等）的确认对象，所以，表格的整列必须作为可点击的超链接对象。（如果鼠标移至超链接上能够产生变色效果的话，将更有助于辨认）。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">Expressing size in hyperlinks<br />
</span></strong><strong><span style="font-size: 9pt; color: black; font-family: 宋体">描述超链接对象的尺寸大小</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">It's quite common to find computers putting out this kind of information to set user's expectations when linking to a file: <br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">当链接到一个文件时，我们通常会发现超链接上包含一段关于文件大小尺寸的描述，这有助于用户决定自己的意愿（即：是否点击该文件链接）。</span><span style="font-size: 9pt; color: black; font-family: Verdana"><br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">如：</span><span style="font-size: 9pt; color: black; font-family: Verdana"><a href="javascript:void(0)"><span style="color: black">PDF (46,764 bytes)</span></a> <br />
<br />
Thinking about the user's goals, what they need is to know roughly how long the download will take: will it be a few seconds, or minutes? That's generally as accurate as it needs to be. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">好好思考一下用户的目标是什么，通常情况下，他们需要知道下载需要花去多长时间：是几秒钟，还是几分钟？因此，我们应该对其作出尽可能精准的描述。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">What should it be?<br />
</span></strong><strong><span style="font-size: 9pt; color: black; font-family: 宋体">应该怎样描述上述的文件尺寸呢？</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">There's no benefit at all in showing more than two significant figures in file sizes. Above should be 47KB. Also, only ever use kilobytes or megabytes for file sizes online. (Good, useful file sizes to 2 significant figures run: 4.7KB, 47KB, 470KB, 4.7MB etc.) <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">对文件尺寸的描述最好不要超过两位有效数字。上述文件尺寸应该写成</span><span style="font-size: 9pt; color: black; font-family: Verdana">47KB</span><span style="font-size: 9pt; color: black; font-family: 宋体">。因此，网络上应尽可能地使用千字节（</span><span style="font-size: 9pt; color: black; font-family: Verdana">kb</span><span style="font-size: 9pt; color: black; font-family: 宋体">）或兆字节（</span><span style="font-size: 9pt; color: black; font-family: Verdana">mb</span><span style="font-size: 9pt; color: black; font-family: 宋体">）对文件进行描述。（我们推荐的</span><span style="font-size: 9pt; color: black; font-family: Verdana">2</span><span style="font-size: 9pt; color: black; font-family: 宋体">位数字描述法如下：</span><span style="font-size: 9pt; color: black; font-family: Verdana">4.7KB, 47KB, 470KB, 4.7MB</span><span style="font-size: 9pt; color: black; font-family: 宋体">等等）</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">Formatting hyperlinks<br />
</span></strong><strong><span style="font-size: 9pt; color: black; font-family: 宋体">对超链接定义格式</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">If we have to differentiate text hyperlinks from other text, should this be done with colour or formatting such as underlining/emboldening? <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">如果我们需要在一个文本中区分不同的文字链接，我们应该对超链接的部分使用不同于普通文本的颜色，或者对超链的文字加上下划线，或者加粗。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">The de facto convention has been that hyperlinks are rendered in blue with underlines, that they turn red when clicked, and that visited links are purple. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">默认的超链接动作对应的颜色变化是：起初，超链接是蓝色的，并带有下划线；当点击时，它会变成红色；访问过的超链接将会以紫色显示。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">The most readable way to render most text is black on a white background, and making <u>text hyperlinks blue (#00f) </u>works very well on white. It is clearly distinguishable from regular black text, while still providing enough visual contrast to be readable. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">最常用的增加超链接可读性的方法是：整体页面为黑字白底，文字超链接为蓝色（</span><span style="font-size: 9pt; color: black; font-family: Verdana">#00f</span><span style="font-size: 9pt; color: black; font-family: 宋体">）。这样做可以使得颜色的视觉对比度明显，从而便于区分超链接内容和文本内容，增加可读性。</span></p>
<span style="font-size: 9pt; color: black; font-family: Verdana">Blue hyperlink in greyscale: with and without underline. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">超链接的颜色可以有灰色替代蓝色，带不带有下划线均可。</span> <br />
<p><img style="border-right: rgb(204,204,204) 1px solid; border-top: rgb(204,204,204) 1px solid; border-left: rgb(204,204,204) 1px solid; border-bottom: rgb(204,204,204) 1px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/hyperlink_greyscale.gif" /></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">It's appropriate to ask if differentiating by colour alone will work for people who are colourblind. The image above is a screen capture of this page, totally desaturated. It shows that, even without colour, there is sufficient tonal difference between black and blue to make the hyperlink clear. The underlined version is a little bit clearer, but showing underline on hover would serve a similar purpose. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">同时你还要考虑到如果仅仅依靠颜色的变化来区分超链接状态的话，那么色盲们可以接受吗？最好是询问一下他们是否能辨别这些颜色。上面的图片是页面截图，从上面的图片中你可以看到，即使不使用超链接的颜色变化效果，仅使用黑色和蓝色也能够很清楚的辨认出超链接。给超链接加上下划线将更有助于用户辨认超链接；或者是当鼠标经过超链接时出现下划线，这样也能达到同样的效果。</span></p>
<strong><span style="font-size: 9pt; color: black; font-family: Verdana">Should hypelinks be underlined? <br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">超链接是否需要带有下划线？</span></strong> <br />
<p><img style="border-right: rgb(204,204,204) 1px solid; border-top: rgb(204,204,204) 1px solid; border-left: rgb(204,204,204) 1px solid; border-bottom: rgb(204,204,204) 1px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/blue_hyperlinks.gif" /></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">Underlining works okay for occasional inline links. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">对于不经常使用的内置超链接可以加上下划线。</span><span style="font-size: 9pt; color: black; font-family: Verdana"><br />
<br />
It makes the link stand out a little more than colour alone. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">通过对超链接使用下划线（与仅对超链接进行颜色变化）更能起到突出超链接的作用。</span><span style="font-size: 9pt; color: black; font-family: Verdana"><br />
<br />
In this example, the underlining works well to distinguish article titles from the sub-title. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">在这个案例中，下划线可以清楚地区分主标题和二级标题。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">I think underlining becomes unhelpful when there are numerous inline links in paragraphs, in lists of links, and when there are lots of sets of links on a page. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">如果段落中、链接列表中或页面中的超链接过多，那对这些链接使用下划线将起不到任何突出作用。</span></p>
<span style="font-size: 9pt; color: black; font-family: Verdana">Here are a couple of examples of collections of hyperlinks, showing the original (underlined) and the same with underlines removed. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">下面两组超链接效果的对比。左边的超链接包含下划线，右边则不包含下划线，具体如下：</span>
<p><img style="border-right: rgb(204,204,204) 1px solid; border-top: rgb(204,204,204) 1px solid; border-left: rgb(204,204,204) 1px solid; border-bottom: rgb(204,204,204) 1px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/blue_hyperlinks_too_many.gif" />&nbsp;&nbsp;&nbsp;<img style="border-right: rgb(204,204,204) 1px solid; border-top: rgb(204,204,204) 1px solid; border-left: rgb(204,204,204) 1px solid; border-bottom: rgb(204,204,204) 1px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/blue_hyperlinks_too_many_fixed.gif" /></p>
<br />
<p><img style="border-right: rgb(204,204,204) 1px solid; border-top: rgb(204,204,204) 1px solid; border-left: rgb(204,204,204) 1px solid; border-bottom: rgb(204,204,204) 1px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/blue_hyperlinks_unclear.gif" />&nbsp;&nbsp;&nbsp;<img style="border-right: rgb(204,204,204) 1px solid; border-top: rgb(204,204,204) 1px solid; border-left: rgb(204,204,204) 1px solid; border-bottom: rgb(204,204,204) 1px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/blue_hyperlinks_unclear_fixed.gif" /></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">Notice how it's quicker and easier to read the non-underlined blocks of text. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">请注意：如果像上面这样的链接列表，那么不使用下划线将更有助于快速、简便地阅读。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">In this second example, I have also adjusted the line spacing to make the related words clearer. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">在第二个案例中，我还调整了单词之间的间距以使其看上去更加清晰。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">Consistency</span></strong><span style="font-size: 9pt; color: black; font-family: Verdana"> <br />
</span><strong><span style="font-size: 9pt; color: black; font-family: 宋体">一致性</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">It is important that hyperlink formats behave consistently across pages. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">还有一点很重要，就是所有页面的超链接格式最好保持一致。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">Obviously, where some text links are on different backgrounds, such as in navigation bars, they may need to use special colours or treatments. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">很显然，当超链接位于不同的背景时，如：位于导航条内，那么我们将对其使用特别的颜色和效果。</span></p>
<br />
<p><img style="border-right: rgb(204,204,204) 1px solid; border-top: rgb(204,204,204) 1px solid; border-left: rgb(204,204,204) 1px solid; border-bottom: rgb(204,204,204) 1px solid" alt="" src="http://www.w3pop.com/public/upload/image/clearHyperlinks/guardian_mouse_hovers.gif" /></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">The above snippets are taken from the <a href="http://www.webdesign.org/goout.php?to=www.guardian.co.uk" target="_blank"><span style="font-size: 10pt; color: black">Guardian Online</span></a> homepage <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">上面的片断来自于</span><span style="font-size: 9pt; color: black; font-family: Verdana"><a href="http://www.webdesign.org/goout.php?to=www.guardian.co.uk" target="_blank"><span style="font-size: 10pt; color: black">Guardian Online</span></a></span><span style="font-size: 9pt; color: black; font-family: 宋体">的首页。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">While most links look similar (#036, mainly not underlined, there are several very different styles applied on the hover, when the mouse pointer moves over the active link. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">上面的超链接格式看上去基本相同（字体颜色</span><span style="font-size: 9pt; color: black; font-family: Verdana">#036</span><span style="font-size: 9pt; color: black; font-family: 宋体">，超链接基本上不带下划线，当鼠标经过超链接时产生的效果各不相同）。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">The psychological effect is disconcerting: you are left doubting whether all links will do similar things (i.e. go to another page on this site), or whether you might be taken unexpectedly somewhere else. I think that this schizophrenic behaviour weakens the brand experience, as well as diminishing usability. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">从心里学角度讲，这样的效果处理会让人感到不安；同时，你会对此留有疑虑：是否所用的链接全是这样（包括其它页面）；是否会链接到一个出乎意料的地方。我认为，这种让人感到精神分裂的效果处理方法将削弱用户对该网站品牌的映像，同时，网站的可用性也将大打折扣。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">There is no good reason to treat all the hyperlinks differently. The third example also breaks the second principle, because its colour change makes it weaker, less noticeable, which is not 'highlighting'. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">我们不可以对所有的超链接都使用不同的效果。上面的第三个案例违反了第二个法则；因为不同的颜色变化使超变得毫无重点，根本起不到突出的作用</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><strong><span style="font-size: 9pt; color: black; font-family: Verdana">Conclusion</span></strong><span style="font-size: 9pt; color: black; font-family: Verdana"> <br />
</span><strong><span style="font-size: 9pt; color: black; font-family: 宋体">结论</span></strong></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">On balance, it seems that the predominant convention in the industry is to keep #00f or #00c (slightly darker) blue for links, and to make links red and (optionally) underlined on hover. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">总而言之，最具特点的超链接颜色效果变化是：使用</span><span style="font-size: 9pt; color: black; font-family: Verdana"> #00f </span><span style="font-size: 9pt; color: black; font-family: 宋体">或</span><span style="font-size: 9pt; color: black; font-family: Verdana"> #00c</span><span style="font-size: 9pt; color: black; font-family: 宋体">（颜色较前者稍微暗点），作为超链接的字体颜色；当鼠标经过时，使用红色或者加上一条下滑线来突显它。</span></p>
<p style="background: white 0% 50%; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" align="left"><span style="font-size: 9pt; color: black; font-family: Verdana">I think that this provides the best balance of functionality when applied consistently to inline hyperlinks and grouped hyperlinks. <br />
<br />
</span><span style="font-size: 9pt; color: black; font-family: 宋体">我认为：对所有的内置超链接和群组超链接使用相同的效果变化能够在其功能性保持最好的平衡。</span></p>
<img src ="http://www.blogjava.net/hoocoral/aggbug/156093.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hoocoral/" target="_blank">胡昆荣</a> 2007-10-26 12:37 <a href="http://www.blogjava.net/hoocoral/articles/156093.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>