由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - Question about html code
相关主题
空格中国block 1and1?
[转载] Perl for programmers(6): characters in stringmy proposal for the project
Re: **********Help Needed! 怎样在最短的时间内学会CGI??急!!!*********怎样在dreamwaver中将网页上传到服务器上呢?
cgi problem.why some character can not display correctly?question about MySQL?
在HTML中, 空格是怎么 生成的.How to put the results of several HTTP requests inside one web page
JavaScript question[转载] How to treat the attachment
[转载] Re: apache难道不能把character set默认为gb2312?Home networking, 菜鸟请教
How this web is done?IP address
相关话题的讨论汇总
话题: html话题: question话题: code话题: treated话题: several
进入BuildingWeb版参与讨论
1 (共1页)
c***k
发帖数: 1589
1
in html code: how is the new line character '\n' treated?
Seems like just being ignored...
Is there any simple way to display '\n' as a new line, other than
replace all '\n' by .
Another question:
In html code: several white space are treated as one. Is there any
good way to preserve their original behavior?
l****e
发帖数: 359
2



代表一个空格,想要几个就写几个

【在 c***k 的大作中提到】
: in html code: how is the new line character '\n' treated?
: Seems like just being ignored...
: Is there any simple way to display '\n' as a new line, other than
: replace all '\n' by .
: Another question:
: In html code: several white space are treated as one. Is there any
: good way to preserve their original behavior?

b****u
发帖数: 1027
3
put your html inside pre tag:
 

then it'll show correctly.
l****e
发帖数: 359
4
发现我的 在www下不显示,哈哈哈

【在 l****e 的大作中提到】
:
:

: 代表一个空格,想要几个就写几个

b****u
发帖数: 1027
5
hehe
c***k
发帖数: 1589
6

is not white space. It's a newline character, if you put several
that'll generate several empty lines.

【在 l****e 的大作中提到】
: 发现我的 在www下不显示,哈哈哈
l****e
发帖数: 359
7
不要断章取义,而且看看我下一片回文, 那个www下没出现的空格我用全角写了一遍。

【在 c***k 的大作中提到】
:
is not white space. It's a newline character, if you put several
: that'll generate several empty lines.

c***k
发帖数: 1589
8
sorry ^^

【在 l****e 的大作中提到】
: 不要断章取义,而且看看我下一片回文, 那个www下没出现的空格我用全角写了一遍。
y***l
发帖数: 6963
9



【在 l****e 的大作中提到】
: 不要断章取义,而且看看我下一片回文, 那个www下没出现的空格我用全角写了一遍。
1 (共1页)
进入BuildingWeb版参与讨论
相关主题
IP address在HTML中, 空格是怎么 生成的.
关于apache的新手问题JavaScript question
购买域名和MAIL SEVER问题![转载] Re: apache难道不能把character set默认为gb2312?
请教:how to gather input information from several webpages?How this web is done?
空格中国block 1and1?
[转载] Perl for programmers(6): characters in stringmy proposal for the project
Re: **********Help Needed! 怎样在最短的时间内学会CGI??急!!!*********怎样在dreamwaver中将网页上传到服务器上呢?
cgi problem.why some character can not display correctly?question about MySQL?
相关话题的讨论汇总
话题: html话题: question话题: code话题: treated话题: several