網(wǎng)頁設計制作之改進超級鏈接效果(4)_XHTML教程
描述超鏈接對象的尺寸大小
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.
- HTML5 INPUT placeholder及兼容性處理
- HTML表單里的Label標簽
- 淺析HTML與javascript中常用編碼
- CSS網(wǎng)頁布局中必須要了解的幾個XHTML標簽
- title和alt 標簽介紹及其異同
- 淺析HTML標簽strong和em的區(qū)別
- 說說XHTML中的alt屬性和title屬性
- Semantics語義是Html Xhtml是否真正符合標準的重要部分
- 九個W3C XHTML1.0及CSS標準認證需要注意的問題
- 請注意頁面head區(qū)域的編碼是不是規(guī)范
- HTML validate - 驗證HTML代碼穿越多重瀏覽器標準
- XHTML具有語義的標簽:有關H1位置的討論
- 相關鏈接:
- 教程說明:
XHTML教程-網(wǎng)頁設計制作之改進超級鏈接效果(4)
。