Html组件问题 [英] Html Component Question

查看:77
本文介绍了Html组件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不认为这真的很重要,但仅供我自己参考?


我在网上找到了html组件的日历组件教程。

in这个组件脚本的标签是< SCRIPT

LANGUAGE =" JavaScript">< / SCRIPT>


这里是我的问题在我自己的组件中尝试了这个不会工作

直到我使用这样的标签

< SCRIPT TYPE =" text / javascript">< / SCRIPT> ;


i可以理解为什么这不适用于不同的浏览器,但

日历项目在我的计算机上工作正常如此

i不明白为什么它在我的项目中没有工作。这是什么案例

敏感????


感谢您的帮助


WStoreyII

I dont think that it really matters, but just for my own reference?

I found a calendar component tutorial online for html components.
in this component the tag for a script was <SCRIPT
LANGUAGE="JavaScript"></SCRIPT>

here is the problem when i tried this in my own component it would not work
until i used the tag like this
<SCRIPT TYPE="text/javascript"></SCRIPT>

i could understand why this would not work on different browsers but the
calendar project works just fine on my computer so
i dont understand why it did nto work in my project. Is this stuff case
sensitive????

Thanks for the help

WStoreyII

推荐答案



" WStoreyII" < PA ********** @ sbcglobal.net>在消息中写道

news:za **************** @ newssvr27.news.prodigy.com ...

"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:za****************@newssvr27.news.prodigy.com ...
I不要认为这真的很重要,但仅仅是为了我自己的参考?

我在网上找到了html组件的日历组件教程。
在这个组件中,脚本的标签是< SCRIPT
LANGUAGE =" JavaScript">< / SCRIPT>


语言属性已被弃用。

这是我在自己的组件中尝试这个问题的问题,直到我使用了像这样的标签
< SCRIPT TYPE =" text / javascript">< / SCRIPT>


脚本元素现在需要type属性。

i可以理解为什么这不适用于不同的浏览器但
日历项目有效在我的电脑上很好,所以我不明白为什么它在我的项目中没有工作。


不同的错误纠正?

这个东西是敏感的????
I dont think that it really matters, but just for my own reference?

I found a calendar component tutorial online for html components.
in this component the tag for a script was <SCRIPT
LANGUAGE="JavaScript"></SCRIPT>
The language attribute is deprecated.
here is the problem when i tried this in my own component it would not work until i used the tag like this
<SCRIPT TYPE="text/javascript"></SCRIPT>
The type attribute is now required for the script element.
i could understand why this would not work on different browsers but the
calendar project works just fine on my computer so
i dont understand why it did nto work in my project.
Different error correction?
Is this stuff case
sensitive????




HTML不区分大小写。


-

干杯

Richard。



HTML is not case sensitive.

--
Cheers
Richard.


rf写道:
rf wrote:
HTML不区分大小写。
HTML is not case sensitive.




比特是。比较< strong> Hello< / strong> < strong> HELLO< / strong> ;.


-

Toby A Inkster BSc(荣誉)ARCS

联系方式我 - http://www.goddamn.co.uk/tobyink /?page = 132



Bits of it are. Compare <strong>Hello</strong> with <strong>HELLO</strong>.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132




" Toby A Inkster" <到***** @ goddamn.co.uk>在留言中写道

news:pa **************************** @ goddamn.co.uk。 ..

"Toby A Inkster" <to*****@goddamn.co.uk> wrote in message
news:pa****************************@goddamn.co.uk. ..
rf写道:
rf wrote:
HTML不区分大小写。
HTML is not case sensitive.



< nitpick>比特是。比较< strong> Hello< / strong> with


<nitpick> Bits of it are. Compare <strong>Hello</strong> with



< strong> HELLO< / strong> ;.

< / nitpick> :-)


< pedantic>

HTML不区分大小写。


结构为HTML描述可能区分大小写

某些语言(例如英语),其中有案例

(与其他语言不同,例如大多数东南亚语言) (尤其是

中文及其衍生品(甚至没有任何字母))

没有对应大小写的概念)但是HTML位

(开始和结束标签内的东西,属性等)不是,

除了一些属性的值,例如如在href =" example.com"的

情况中其中example.com根据服务器正在运行的操作系统,可能会也可能不会是敏感的,但是实际上可能会认为example.com bit实际上是

内容的一部分,即使它不是作为元素中的内容出现,而是作为属性的值而显示为


< / pedantic>


-

干杯

Richard。


<strong>HELLO</strong>.
</nitpick> :-)

<pedantic>
HTML is not case sensitive.

The content whose structure the HTML describes may be case sensitive in
certain languages (such as English) where there is such a thing as case
(unlike other languages, such as most South East Asian ones (and especially
Chinese and its derivatives (where there are not even any "letters")) where
there is no concept corresponding to upper and lower case) but the HTML bit
(the stuff inside the start and end tags, the attributes and so on) is not,
with the exception of the value of some of the attributes, such as in the
case of href="example.com" where "example.com" may or may not be case
sensitive depending on which operating system the server is running, however
one could actually argue that the "example.com" bit is actually part of the
content, even though it does not appear as content within an element but
rather as the value of an attribute.
</pedantic>

--
Cheers
Richard.


这篇关于Html组件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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