英语 英语 日语 日语 韩语 韩语 法语 法语 德语 德语 西班牙语 西班牙语 意大利语 意大利语 阿拉伯语 阿拉伯语 葡萄牙语 葡萄牙语 越南语 越南语 俄语 俄语 芬兰语 芬兰语 泰语 泰语 泰语 丹麦语 泰语 对外汉语

英语语法:125 Formatting Hyperlinks

时间:2010-07-02 00:59来源:互联网 提供网友:飘絮330813   字体: [ ]
特别声明:本栏目内容均从网络收集或者网友提供,供仅参考试用,我们无法保证内容完整和正确。如果资料损害了您的权益,请与站长联系,我们将及时删除并致以歉意。
    (单词翻译:双击或拖选)

Grammar Girl here.

Today I'm going to talk about how to format1 Web addresses for print documents and websites.

URLs and Terminal Punctuation2
A listener named Aileen recently asked how to deal with a Web address at the end of a sentence. Should she put the period or other terminal punctuation mark at the end of the sentence as she normally would, leave the period off so the reader doesn't mistakenly include it in the address, or do something funky3 such as put quotes around the Web address?

Most of my books don't cover URL formatting4, but The Chicago Manual of Style, which is probably the most comprehensive guide when it comes to formatting, says Web addresses don't need special treatment. So put the punctuation in just as you would if the sentence ended with a word or a number. [At least one online style guide agrees (1).]

 

Full URLs Versus5 Abbreviated6 URLs
Whether you should write out the full URL including the “http://” and “www” part is a matter of style (2). If you're including a Web address in a list of references and you're using a specific referencing style like Chicago, MLA, or APA, then you follow their specific recommendations; but if you're writing an essay or e-mail, then the style is up to you or your boss or teacher. Some people prefer to write out the entire address, whereas others prefer to write the shortest address possible that will still work when you type it into a Web browser7. (Every browser I'm aware of will take you to the right page even if you leave off the “http://www.”) Just decide on a style and stick with it.

 

Active Links
Nancy in Shawnee Mission, Kansas, wanted to know if her students should make their URLs live hyperlinks8.

If you're writing a document that will only be read in print, then there's no reason to make the link active; it will just show up underlined in the printout, which is unnecessary. I've included instructions on the quickanddirtytips.com Web page for this show on how to remove hyperlinks in word processing programs.

On the other hand, if your document will be on the Web or in an e-mail message, do make the link clickable so it's easier for your readers to visit the page (3).

 

Long URLs
The next problem you are likely to encounter is what to do with a long URL. You know what I mean: one of those URLs that seem to go on forever with equal signs and question marks and lots of numbers.

The most important thing is that you should not use a hyphen at the line break. That will definitely confuse people because it's common for URLs to have internal hyphens. And if there is a hyphen in the address, don't make the line break right after it; that will confuse people because they won't know whether you are improperly9 inserting a hyphen to mark the break or the hyphen is part of the address.

Instead, if you have to wrap the URL to a new line, find a natural break like a slash10, dot, number sign, or other symbol. Again, use common sense: don't break a URL right after a period or readers might think the period marks the end of the sentence. If you break at a period, make the break before the period so it starts the new line.

The new Grammar Girl website seems unable to handle long URLs; every time I include one in the references it refuses to wrap and messes up the page formatting, which makes everyone cranky. So lately I've been using URL shortening services like TinyURL and urlTea as an alternative to wrapping long URLs. These services are very simple: you go to their website, paste in your long URL, and they spit out a much shorter URL that goes to the same page.

 

Click Here and Underlining
A few other points about hyperlinks and websites --

When you're turning words into links on a webpage, link the words that best describe what you are linking to instead of putting in self-conscious words like click here (4, 5). A site called “Web Content Design” made a point that I think is worth repeating: The text should make sense without the hyperlinks, which argues against adding words like click here.

Also, it's best to avoid underlining things for emphasis on websites because underlining marks hyperlinks. I know that it's possible to make links any style you want if you fiddle11 with the code, but  underlining is the default style for a link, so if you underline text, some people are going to think it's an active link (4).

Book Winners
We have three more book winners this week. James, Taciane, and Patricia are all subscribed12 to the free e-mail newsletter and will receive a copy of my audiobook, Grammar Girl's Quick and Dirty Tips to Clean Up Your Writing.

You can sign up for the newsletter by using the blue button in the sidebar at quickanddirtytips.com, where you can also find a transcript13 of this podcast, my contact information, and all the other great Quick and Dirty Tips podcasts. This week Legal Lad is talking about how much power the U.S. government has to restrict your right to assemble.

That's all. Thanks for listening.

 


点击收听单词发音收听单词发音  

1 format giJxb     
n.设计,版式;[计算机]格式,DOS命令:格式化(磁盘),用于空盘或使用过的磁盘建立新空盘来存储数据;v.使格式化,设计,安排
参考例句:
  • Please format this floppy disc.请将这张软盘格式化。
  • The format of the figure is very tasteful.该图表的格式很雅致。
2 punctuation 3Sbxk     
n.标点符号,标点法
参考例句:
  • My son's punctuation is terrible.我儿子的标点符号很糟糕。
  • A piece of writing without any punctuation is difficult to understand.一篇没有任何标点符号的文章是很难懂的。
3 funky 1fjzc     
adj.畏缩的,怯懦的,霉臭的;adj.新式的,时髦的
参考例句:
  • The kitchen smelled really funky.这个厨房有一股霉味。
  • It is a funky restaurant with very interesting art on the walls.那是一家墙上挂着很有意思的绘画的新潮餐馆。
4 formatting f9f9c04813a46502873a0c2a3d361ce8     
n.格式化v.使格式化( format的现在分词 );规定…的格式(或形状、大小、比例等);安排…的格局(或规格);设计…的版面
参考例句:
  • Select the block of text and-click and choose Default Formatting. 选择目标文字块,点击鼠标右键,选择默认格式。 来自互联网
  • There are emerging conventions about the content and formatting of documentation strings. 这里介绍文档字符串的概念和格式。 来自互联网
5 versus wi7wU     
prep.以…为对手,对;与…相比之下
参考例句:
  • The big match tonight is England versus Spain.今晚的大赛是英格兰对西班牙。
  • The most exciting game was Harvard versus Yale.最富紧张刺激的球赛是哈佛队对耶鲁队。
6 abbreviated 32a218f05db198fc10c9206836aaa17a     
adj. 简短的,省略的 动词abbreviate的过去式和过去分词
参考例句:
  • He abbreviated so much that it was hard to understand his article. 他的文章缩写词使用太多,令人费解。
  • The United States of America is commonly abbreviated to U.S.A.. 美利坚合众国常被缩略为U.S.A.。
7 browser gx7z2M     
n.浏览者
参考例句:
  • View edits in a web browser.在浏览器中看编辑的效果。
  • I think my browser has a list of shareware links.我想在浏览器中会有一系列的共享软件链接。
8 hyperlinks 36fcaacf73042ab967d3992596ded6d5     
n.超链接( hyperlink的名词复数 )
参考例句:
  • Specifies if hyperlinks are displayed and function within the control. 指定是否显示超级链接以及它是否在控件中起作用。 来自互联网
  • View, add, and change pages, documents, themes, and borders; recalculate hyperlinks. 查看、添加和更改网页、文档、主题和边框;重新计算超链接。 来自互联网
9 improperly 1e83f257ea7e5892de2e5f2de8b00e7b     
不正确地,不适当地
参考例句:
  • Of course it was acting improperly. 这样做就是不对嘛!
  • He is trying to improperly influence a witness. 他在试图误导证人。
10 slash Hrsyq     
vi.大幅度削减;vt.猛砍,尖锐抨击,大幅减少;n.猛砍,斜线,长切口,衣衩
参考例句:
  • The shop plans to slash fur prices after Spring Festival.该店计划在春节之后把皮货降价。
  • Don't slash your horse in that cruel way.不要那样残忍地鞭打你的马。
11 fiddle GgYzm     
n.小提琴;vi.拉提琴;不停拨弄,乱动
参考例句:
  • She plays the fiddle well.她小提琴拉得好。
  • Don't fiddle with the typewriter.不要摆弄那架打字机了。
12 subscribed cb9825426eb2cb8cbaf6a72027f5508a     
v.捐助( subscribe的过去式和过去分词 );签署,题词;订阅;同意
参考例句:
  • It is not a theory that is commonly subscribed to. 一般人并不赞成这个理论。 来自《简明英汉词典》
  • I subscribed my name to the document. 我在文件上签了字。 来自《简明英汉词典》
13 transcript JgpzUp     
n.抄本,誊本,副本,肄业证书
参考例句:
  • A transcript of the tapes was presented as evidence in court.一份录音带的文字本作为证据被呈交法庭。
  • They wouldn't let me have a transcript of the interview.他们拒绝给我一份采访的文字整理稿。
本文本内容来源于互联网抓取和网友提交,仅供参考,部分栏目没有内容,如果您有更合适的内容,欢迎点击提交分享给大家。
------分隔线----------------------------
顶一下
(0)
0%
踩一下
(0)
0%
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
验证码:
听力搜索
推荐频道
论坛新贴