日韩天天综合网_野战两个奶头被亲到高潮_亚洲日韩欧美精品综合_av女人天堂污污污_视频一区**字幕无弹窗_国产亚洲欧美小视频_国内性爱精品在线免费视频_国产一级电影在线播放_日韩欧美内地福利_亚洲一二三不卡片区

網(wǎng)頁設計制作之改進超級鏈接效果(4)_XHTML教程

編輯Tag賺U幣
教程Tag:暫無Tag,歡迎添加,賺取U幣!
Expressing size in hyperlinks
描述超鏈接對象的尺寸大小

It's quite common to find computers putting out this kind of information to set user's expectations when linking to a file:
當鏈接到一個文件時,我們通常會發(fā)現(xiàn)超鏈接上包含一段關于文件大小尺寸的描述,這有助于用戶決定自己的意愿(即:是否點擊該文件鏈接)。

如:PDF (46,764 bytes)

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.

好好思考一下用戶的目標是什么,通常情況下,他們需要知道下載需要花去多長時間:是幾秒鐘,還是幾分鐘?因此,我們應該對其作出盡可能精準的描述。

What should it be?
應該怎樣描述上述的文件尺寸呢?

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.)

對文件尺寸的描述最好不要超過兩位有效數(shù)字。上述文件尺寸應該寫成47KB。因此,網(wǎng)絡上應盡可能地使用千字節(jié)(kb)或兆字節(jié)(mb)對文件進行描述。(我們推薦的2位數(shù)字描述法如下:4.7KB, 47KB, 470KB, 4.7MB等等)

Formatting hyperlinks
對超鏈接定義格式

If we have to differentiate text hyperlinks from other text, should this be done with colour or formatting such as underlining/emboldening?

假如我們需要在一個文本中區(qū)分不同的文字鏈接,我們應該對超鏈接的部分使用不同于普通文本的顏色,或者對超鏈的文字加上下劃線,或者加粗。

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.

來源:模板無憂//所屬分類:XHTML教程/更新時間:2008-01-02
相關XHTML教程