網(wǎng)頁(yè)設(shè)計(jì)制作之改進(jìn)超級(jí)鏈接效果(4)_XHTML教程
描述超鏈接對(duì)象的尺寸大小
It's quite common to find computers putting out this kind of information to set user's expectations when linking to a file:
當(dāng)鏈接到一個(gè)文件時(shí),我們通常會(huì)發(fā)現(xiàn)超鏈接上包含一段關(guān)于文件大小尺寸的描述,這有助于用戶(hù)決定自己的意愿(即:是否點(diǎ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.
好好思考一下用戶(hù)的目標(biāo)是什么,通常情況下,他們需要知道下載需要花去多長(zhǎng)時(shí)間:是幾秒鐘,還是幾分鐘?因此,我們應(yīng)該對(duì)其作出盡可能精準(zhǔn)的描述。
What should it be?
應(yīng)該怎樣描述上述的文件尺寸呢?
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.)
對(duì)文件尺寸的描述最好不要超過(guò)兩位有效數(shù)字。上述文件尺寸應(yīng)該寫(xiě)成47KB。因此,網(wǎng)絡(luò)上應(yīng)盡可能地使用千字節(jié)(kb)或兆字節(jié)(mb)對(duì)文件進(jìn)行描述。(我們推薦的2位數(shù)字描述法如下:4.7KB, 47KB, 470KB, 4.7MB等等)
Formatting hyperlinks
對(duì)超鏈接定義格式
If we have to differentiate text hyperlinks from other text, should this be done with colour or formatting such as underlining/emboldening?
假如我們需要在一個(gè)文本中區(qū)分不同的文字鏈接,我們應(yīng)該對(duì)超鏈接的部分使用不同于普通文本的顏色,或者對(duì)超鏈的文字加上下劃線,或者加粗。
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標(biāo)簽
- 淺析HTML與javascript中常用編碼
- CSS網(wǎng)頁(yè)布局中必須要了解的幾個(gè)XHTML標(biāo)簽
- title和alt 標(biāo)簽介紹及其異同
- 淺析HTML標(biāo)簽strong和em的區(qū)別
- 說(shuō)說(shuō)XHTML中的alt屬性和title屬性
- Semantics語(yǔ)義是Html Xhtml是否真正符合標(biāo)準(zhǔn)的重要部分
- 九個(gè)W3C XHTML1.0及CSS標(biāo)準(zhǔn)認(rèn)證需要注意的問(wèn)題
- 請(qǐng)注意頁(yè)面head區(qū)域的編碼是不是規(guī)范
- HTML validate - 驗(yàn)證HTML代碼穿越多重瀏覽器標(biāo)準(zhǔn)
- XHTML具有語(yǔ)義的標(biāo)簽:有關(guān)H1位置的討論
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索網(wǎng)頁(yè)設(shè)計(jì)制作之改進(jìn)超級(jí)鏈接效果(4)
- 教程說(shuō)明:
XHTML教程-網(wǎng)頁(yè)設(shè)計(jì)制作之改進(jìn)超級(jí)鏈接效果(4)
。