HTML英旅之行 第七天

[ 2005-10-10 09:38:03 | 作者: Admin ] 字号: | |
(七) Line Break 换行

We have learned how to start a new paragraph now.
我们现在已经学习了怎样开始新的一行.

So what if we want to start a new line but not a new paragraph?
如果我们想转一行又不想重新开始一段呢?

Well, What we need is a LINE BREAK.
这下, 我们需要的是换行.

This tag is <BR>, which will forces a line break wherever you put it in the content.
这个标签是<BR>, 不管你把它放在哪里,它会重新起一行.

We can give it a try.
我们可以试一下.

=====================

<HTML>

<HEAD>
<TITLE>LINE BREAK 换行</TITLE>
</HEAD>

<BODY>

We are going to start a new line.<BR>我们要开始新的一行. <BR>But it is still in the same paragraph. <BR> 但它还是在同一段.

</BODY>

</HTML>

=====================

You must notice that there is no </BR> tag.
你一定注意到了没有</BR>那样的标签.

Yes. It is an empty tag.
是的. 它是一个空的标签.

It JUST start a new line even you put it in a word.
它仅仅是开始新的一行, 甚至你把它放到一个单词的中间.
Share
评论Feed 评论Feed: http://www.85815.com/feed.asp?q=comment&id=880
UTF-8 Encoding 引用链接: http://www.85815.com/trackback.asp?id=880&key=
这篇日志没有评论.
发表
表情图标
[smile] [confused] [cool] [cry]
[eek] [angry] [wink] [sweat]
[lol] [stun] [razz] [redface]
[rolleyes] [sad] [yes] [no]
[heart] [star] [music] [idea]
UBB代码
转换链接
表情图标
悄悄话
用户名:   密码:   注册?
验证码 * 请输入验证码