473,509 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Html Component Question

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
Jul 23 '05 #1
15 1425
rf

"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:za****************@newssvr27.news.prodigy.com ...
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 is not case sensitive.

--
Cheers
Richard.
Jul 23 '05 #2
rf wrote:
HTML is not case sensitive.


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

Jul 23 '05 #3
rf

"Toby A Inkster" <to*****@goddamn.co.uk> wrote in message
news:pa****************************@goddamn.co.uk. ..
rf wrote:
HTML is not case sensitive.

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

<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.
Jul 23 '05 #4
then how come it worked when i loaded the calendar example and not on mine?

ill send the demo if you wish

wstoreyii
"rf" <rf@example.com> wrote in message
news:Oh*******************@news-server.bigpond.net.au...

"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:za****************@newssvr27.news.prodigy.com ...
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 is not case sensitive.

--
Cheers
Richard.

Jul 23 '05 #5

"rf" <rf@example.com> wrote in message
news:oZ*****************@news-server.bigpond.net.au...

"Toby A Inkster" <to*****@goddamn.co.uk> wrote in message
news:pa****************************@goddamn.co.uk. ..
rf wrote:
HTML is not case sensitive.

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

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

<pedantic> // What is 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.

Jul 23 '05 #6
rf

"WStoreyII" <pa**********@sbcglobal.net> wrote in message
news:Yp*******************@newssvr29.news.prodigy. com...
then how come it worked when i loaded the calendar example and not on mine?
ill send the demo if you wish


Er, send it where?

Provide a link to the demo and a link to your implementation.

--
Cheers
Richard.
Jul 23 '05 #7
rf wrote:

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 is not case sensitive.

XHTML is tho.

--
x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
Jul 23 '05 #8
rf wrote:
<pedantic>
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>


Wow, that's one long sentence!

<nitpick>
Whether a link is case-sensitive may depend on operating system, but it
doesn't have to. A server can just as easily be configured to show the
same page for every URL, or show a different one based on the first
letter of the file name and nothing else; there's no requirment to map
URLs on to real files, although that's normally done.
</nitpick>
Jul 23 '05 #9
rf

"Leif K-Brooks" <eu*****@ecritters.biz> wrote in message
news:2k***********@uni-berlin.de...
rf wrote:
<pedantic>
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>


Wow, that's one long sentence!

<nitpick>
Whether a link is case-sensitive may depend on operating system, but it
doesn't have to. A server can just as easily be configured to show the
same page for every URL, or show a different one based on the first
letter of the file name and nothing else; there's no requirment to map
URLs on to real files, although that's normally done.
</nitpick>


True.
--
Cheers
Richard.
Jul 23 '05 #10
rf wrote:
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


<nitpick>
The hostname portion of a url should never be case-sensitive.
That is, http://WwW.SiteNAme.CoM/ should work regardless of case or server
OS.
What is case-sensitive depending on OS is the filename portion, meaning
everything that comes after the single slash.
</nipick>

--
Matt Kruse
Javascript Toolbox: http://www.JavascriptToolbox.com/
Jul 23 '05 #11
"Matt Kruse" <ne********@mattkruse.com> writes:
rf wrote:
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


<nitpick>
The hostname portion of a url should never be case-sensitive.
That is, http://WwW.SiteNAme.CoM/ should work regardless of case or server
OS.
What is case-sensitive depending on OS is the filename portion, meaning
everything that comes after the single slash.
</nipick>


<nitpick depth="2">
href="example.com" refers to the local file 'example.com', not the
host 'example.com' and so may be case-sensitive.
</nitpick>

--
Chris
Jul 23 '05 #12
rf wrote:
"Toby A Inkster" <to*****@goddamn.co.uk> wrote in message
news:pa****************************@goddamn.co.uk. ..
rf wrote:
HTML is not case sensitive.

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

<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


Actually, to nit-pick even more: example.com isn't case-sensitive either.
Hostnames/domains are not case-sensitive. You get to the same site with:

www.yahoo.com, Www.Yahoo.Com or WWW.YAHOO.COM

The part that comes after the hostname/domain can be case-sensitive, but does
not necessarily have to be, depending on server configuration.
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>


I would argue that the HREF attribute is neither content nor HTML. It is a value
assigned to the HREF attribute and as such obeys it's own syntax rules as
defined by the W3C: <url:
http://www.w3.org/TR/REC-html40/stru...html#adef-href />

A "uri" is defined as: <url: http://www.w3.org/TR/REC-html40/types.html#type-uri
/>

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 23 '05 #13
"rf" <rf@example.com> writes:
HTML is not case sensitive.


That is an unfortunate but persistent simplification, not to say
misnomer. The issue is substitution, not sensitivity.

E.g., to refer to an instance of the element type 'div' in a parsed
HTML document instance set you'd need to address 'DIV', not 'div'
(forget the source, Luke). For attribute values the situation is even
more error-prone, since a lot of attribute values in HTML are declared
to be CDATA and case folding isn't applied (as opposed to all other
types).
--
| ) 111010111011 | http://bednarz.nl/
-(
| ) Distribute me: http://binaries.bednarz.nl/mp3/aicha
Jul 23 '05 #14
Grant Wagner wrote:
rf wrote:
case of href="example.com"


Actually, to nit-pick even more: example.com isn't case-sensitive either.
Hostnames/domains are not case-sensitive.


But "example.com" is a file name, not a domain name. It happens to
resemble a domain name, yes, but it has no protocol segment, so it's
interpreted as a file name by a browser with a quarter of a brain.
Jul 23 '05 #15
rf wrote:
HTML is not case sensitive.


Parts of it are, and I do not mean text nodes.

<http://www.w3.org/TR/REC-html40/index/list.html#c>
F'up2 alt.html (please do not crosspost over hierarchies!)

PointedEars
--
The Internet is filled with people trying to make a name for
themselves by breaking your code, crashing your site, posting
inappropriate content, and otherwise making your day interesting.
(from: The PHP manual, 5. Security)
Jul 23 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1744
by: Nunya D. Bidness | last post by:
If anyone is interested in testing these components goto http://www.vibrantinnovations.com/vibrantlayouttools.asp The Vibrant Layout Tools ActiveX component is a suite of tools that allow...
71
6382
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
2
13372
by: brazilnut52 | last post by:
I am going to outline the steps I go through to produce the problem. Hopefully this will help you understand the problem better I have created a simple COM DLL in .NET by using the COM class...
7
25313
by: Rathtap | last post by:
I want to write a C# application (lets call it Generator) that will receive an argument(patient account number) and dynamically generate a series of linked HTML files (claim information, payments,...
2
1746
by: Edward Diener | last post by:
How does one specify in a component that a property is a pointer to another component ? How is this different from a property that is actually an embedded component ? Finally how is one notified in...
15
1187
by: WStoreyII | last post by:
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...
1
1783
by: darrel | last post by:
I have two issues: 1) The WYSIWYG content editor we're using for our CMS doesn't truly support xhtml. 2) .net doesn't truly support xhtml my question is if there is a .net...
5
3565
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
2
1735
by: dchadha | last post by:
Hi, I need to convert HTML (online or offline) to PDF in C# application. In addition I want to merge PDF documents also on the fly. I am looking for C# / VB.NET code or a .NET component which...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7416
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7073
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5062
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.