html源代码中的行数? [英] Lenth of lines in html source?

查看:107
本文介绍了html源代码中的行数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我已经接受了关于源html中行的长度的任务



http://www.slrn.sourceforge.org

,正如我通常所做的那样,在源html中根本没有换行符。

当我查看或使用它时,我的编辑器会为我包装代码。


通常的做法是将代码分解成屏幕宽的块,以便

那些希望查看源html的人可以方便地进行操作吗?


谢谢,


安德鲁

-

你觉得'空气'你'现在重新呼吸?

解决方案

2008-07-08,andrew< an **** @ ilium.invalidwrote:
< blockquote class =post_quotes> http://www.slrn.sourceforge.org



Doh !!!这样做:

http://slrn.sourceforge.org


安德鲁


-

你认为'你的空气现在在呼吸吗?


2008-07-08,andrew< an **** @ ilium.invalidwrote:


2008-08-08,andrew< an **** @ ilium.invalidwrote:


> http://www.slrn.sourceforge.org



Doh !!!这样做:

http://slrn.sourceforge.org



甚至:

http ://slrn.sourceforge.net


嗯......总有一天我觉得我应该待在床上......


Andrew


-

你认为'你的呼吸现在正在呼吸吗?


andrew写道:





我被委以关于线路长度的任务来源html

of:

http ://www.slrn.sourceforge.org


,正如我通常所做的那样,源html中根本没有换行符。

当我查看或使用它时,我的编辑为我包装了代码。


通常的做法是打破c进入屏幕宽的块,以便

那些希望查看源html的人可以方便地进行操作吗?



这是个人喜好事情,最后并不重要。

多个空格应该被浏览器折叠成一个空格字符

。因此,使用额外的格式打破长行复制

返回将不会更改页面的呈现。


如果您编辑内容副本很多,请手动打破每行72-80

字符可能会变得单调乏味。


-

小心,


Jonathan

-------------------

小作品工作室
< a rel =nofollowhref =http://www.LittleWorksStudio.comtarget =_ blank> http://www.hittleWorksStudio.com


Hi,

I have been taken to task about the length of lines in the source html
of:

http://www.slrn.sourceforge.org

which, as I commonly do, has no line breaks at all in the source html.
My editor wraps the code for me when I view it or work with it.

Is it common practice to break the code into screen wide chunks so that
those who wish to view the source html can do it conveniently?

Thanks,

Andrew
--
Do you think that''s air you''re breathing now?

解决方案

On 2008-07-08, andrew <an****@ilium.invalidwrote:

http://www.slrn.sourceforge.org

Doh!!! Make that:

http://slrn.sourceforge.org

Andrew

--
Do you think that''s air you''re breathing now?


On 2008-07-08, andrew <an****@ilium.invalidwrote:

On 2008-07-08, andrew <an****@ilium.invalidwrote:

>http://www.slrn.sourceforge.org


Doh!!! Make that:

http://slrn.sourceforge.org

Or even:

http://slrn.sourceforge.net

Hmmm... somedays I think I should just stay in bed ...

Andrew

--
Do you think that''s air you''re breathing now?


andrew wrote:

Hi,

I have been taken to task about the length of lines in the source html
of:

http://www.slrn.sourceforge.org

which, as I commonly do, has no line breaks at all in the source html.
My editor wraps the code for me when I view it or work with it.

Is it common practice to break the code into screen wide chunks so that
those who wish to view the source html can do it conveniently?


It''s a personal preference thing, does not really matter in the end.
Multiple whitespace is supposed to collapse to a single space character
by the browser. So breaking a long line of copy with extra carriage
returns will not change the rendering of the page.

If you edit the content copy much, manually breaking each line at 72-80
characters may become tedious.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


这篇关于html源代码中的行数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆