HTML UPPER案例还是小写? [英] HTML UPPER case or lower case?

查看:96
本文介绍了HTML UPPER案例还是小写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTML 4.01是否应以大写或小写形式进行严格标记?

我理解HTML允许使用大写或小写。我还注意到,XHTML显然需要小写。

。但是我看到一些提到

,HTML DOM使用大写字母标记元素。


所以,我应该担心这意味着什么?


由于两个原因,我倾向于使用小写字母。


如果我以后想要使用XHTML,则更容易更改。

更容易输入。


-
http://www.ericlindsay.com

解决方案

文章< NO *********** *********************@freenews.iinet .net.au> ;,

Eric Lindsay< NO ****** ****@ericlindsay.com>写道:

我倾向于小写,有两个原因。
如果我以后想要使用XHTML,更容易改变。


是的。

更容易打字。




是的。


你回答了你自己的问题:-)

我曾经把我的元素做成大写,因为我觉得我看到它

某个地方,某个时候,很长一段时间过去。几年前我让我的文本编辑器将它们转换为小写的




leo


-

< http://web0.greatbasin.net/~leo/>


在文章< NO ***** ***************************@freenews.iinet .net.au> ;,

Eric Lindsay< NO **********@ericlindsay.com>写道:

HTML 4.01严格标记应该是大写还是小写?
我知道HTML允许大写或小写。我也注意到XHTML显然需要小写。但是我看到一些提到
HTML DOM使用大写字母标记元素。




作为我上一篇文章的一个警告,我一直使用

中的大写字母我已经理解它是在DTD中。来自< html>到< / html> ;,我用

小写。


leo


-

< http://web0.greatbasin.net/~leo/>


2005年11月15日星期二09:50:26 +1000, Eric Lindsay发送:

HTML 4.01严格标记应该是大写还是小写?


无所谓。

由于两个原因,我倾向于使用小写字母。

更容易更改如果我后来想要使用XHTML。


如果您要将HTML文档转换为XHTML,那么您最好的选择是使用专门设计的工具。除了确保

它是正确形成的,从大写与小写相比,它还需要处理其他的b $ b物品。

更容易输入。




这是一个很好的理由。


-

如果您坚持通过电子邮件发送给我,请使用回复地址(这是真实的,但暂时是

)。但请回复小组,就像你应该的那样。


这条消息是在没有病毒的情况下发送的,请自行销毁一些文件。


Should HTML 4.01 Strict markup be done in upper case or in lower case?
I understand that HTML allows either upper or lower case. I also notice
that XHTML apparently requires lower case. However I saw some mention
that the HTML DOM uses upper case for markup elements.

So, should I worry about what this means?

I am inclined to go with lower case, for two reasons.

Easier to change if I subsequently want to use XHTML.
Easier to type.

--
http://www.ericlindsay.com

解决方案

In article <NO********************************@freenews.iinet .net.au>,
Eric Lindsay <NO**********@ericlindsay.com> wrote:

I am inclined to go with lower case, for two reasons.

Easier to change if I subsequently want to use XHTML.
yep.
Easier to type.



yep.

You answered your own question :-)
I used to make my elements upper case because I think I saw it
somewhere, sometime, a long time ago. I had my text editor convert them
to lower case a few years ago.

leo

--
<http://web0.greatbasin.net/~leo/>


In article <NO********************************@freenews.iinet .net.au>,
Eric Lindsay <NO**********@ericlindsay.com> wrote:

Should HTML 4.01 Strict markup be done in upper case or in lower case?
I understand that HTML allows either upper or lower case. I also notice
that XHTML apparently requires lower case. However I saw some mention
that the HTML DOM uses upper case for markup elements.



As a caveat to my previous post, I''ve always used uppercase in the
places I''ve understood it to be in a DTD. From <html> to </html>, I use
lowercase.

leo

--
<http://web0.greatbasin.net/~leo/>


On Tue, 15 Nov 2005 09:50:26 +1000, Eric Lindsay sent:

Should HTML 4.01 Strict markup be done in upper case or in lower case?
Doesn''t matter.
I am inclined to go with lower case, for two reasons.

Easier to change if I subsequently want to use XHTML.
If you were converting an HTML document to XHTML, your best bet would
probably to use a tool designed to do so. As well as making sure that
it''s correctly formed, upper- vs lower-case wise, it takes care of other
things, to.
Easier to type.



As good a reason as any.

--
If you insist on e-mailing me, use the reply-to address (it''s real but
temporary). But please reply to the group, like you''re supposed to.

This message was sent without a virus, please destroy some files yourself.


这篇关于HTML UPPER案例还是小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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