Html Component Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WStoreyII

    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="JavaS cript"></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


  • rf

    #2
    Re: Html Component Question


    "WStoreyII" <papastoreyii@s bcglobal.net> wrote in message
    news:za3Ec.4248 $9A.1819@newssv r27.news.prodig y.com...[color=blue]
    > 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="JavaS cript"></SCRIPT>[/color]

    The language attribute is deprecated.
    [color=blue]
    > here is the problem when i tried this in my own component it would not[/color]
    work[color=blue]
    > until i used the tag like this
    > <SCRIPT TYPE="text/javascript"></SCRIPT>[/color]

    The type attribute is now required for the script element.
    [color=blue]
    > 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.[/color]

    Different error correction?
    [color=blue]
    > Is this stuff case
    > sensitive????[/color]

    HTML is not case sensitive.

    --
    Cheers
    Richard.


    Comment

    • Toby A Inkster

      #3
      Re: Html Component Question

      rf wrote:
      [color=blue]
      > HTML is not case sensitive.[/color]

      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

      Comment

      • rf

        #4
        Re: Html Component Question


        "Toby A Inkster" <tobyink@goddam n.co.uk> wrote in message
        news:pan.2004.0 6.29.05.25.47.3 26073@goddamn.c o.uk...[color=blue]
        > rf wrote:
        >[color=green]
        > > HTML is not case sensitive.[/color]
        >[/color]
        <nitpick>[color=blue]
        > Bits of it are. Compare <strong>Hello </strong> with[/color]
        <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.c om" where "example.co m" may or may not be case
        sensitive depending on which operating system the server is running, however
        one could actually argue that the "example.co m" 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.


        Comment

        • WStoreyII

          #5
          Re: Html Component Question

          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:Oh3Ec.6946 2$sj4.40260@new s-server.bigpond. net.au...[color=blue]
          >
          > "WStoreyII" <papastoreyii@s bcglobal.net> wrote in message
          > news:za3Ec.4248 $9A.1819@newssv r27.news.prodig y.com...[color=green]
          > > 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="JavaS cript"></SCRIPT>[/color]
          >
          > The language attribute is deprecated.
          >[color=green]
          > > here is the problem when i tried this in my own component it would not[/color]
          > work[color=green]
          > > until i used the tag like this
          > > <SCRIPT TYPE="text/javascript"></SCRIPT>[/color]
          >
          > The type attribute is now required for the script element.
          >[color=green]
          > > 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.[/color]
          >
          > Different error correction?
          >[color=green]
          > > Is this stuff case
          > > sensitive????[/color]
          >
          > HTML is not case sensitive.
          >
          > --
          > Cheers
          > Richard.
          >
          >[/color]


          Comment

          • WStoreyII

            #6
            Re: Html Component Question


            "rf" <rf@example.com > wrote in message
            news:oZ7Ec.6967 7$sj4.701@news-server.bigpond. net.au...[color=blue]
            >
            > "Toby A Inkster" <tobyink@goddam n.co.uk> wrote in message
            > news:pan.2004.0 6.29.05.25.47.3 26073@goddamn.c o.uk...[color=green]
            > > rf wrote:
            > >[color=darkred]
            > > > HTML is not case sensitive.[/color]
            > >[/color]
            > <nitpick>[color=green]
            > > Bits of it are. Compare <strong>Hello </strong> with[/color]
            > <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[/color]
            especially[color=blue]
            > Chinese and its derivatives (where there are not even any "letters"))[/color]
            where[color=blue]
            > there is no concept corresponding to upper and lower case) but the HTML[/color]
            bit[color=blue]
            > (the stuff inside the start and end tags, the attributes and so on) is[/color]
            not,[color=blue]
            > with the exception of the value of some of the attributes, such as in the
            > case of href="example.c om" where "example.co m" may or may not be case
            > sensitive depending on which operating system the server is running,[/color]
            however[color=blue]
            > one could actually argue that the "example.co m" bit is actually part of[/color]
            the[color=blue]
            > content, even though it does not appear as content within an element but
            > rather as the value of an attribute.
            > </pedantic>
            >
            > --
            > Cheers
            > Richard.
            >
            >[/color]


            Comment

            • rf

              #7
              Re: Html Component Question


              "WStoreyII" <papastoreyii@s bcglobal.net> wrote in message
              news:Yp4Ec.7912 8$ju1.70879@new ssvr29.news.pro digy.com...[color=blue]
              > then how come it worked when i loaded the calendar example and not on[/color]
              mine?[color=blue]
              >
              > ill send the demo if you wish[/color]

              Er, send it where?

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

              --
              Cheers
              Richard.


              Comment

              • SpaceGirl

                #8
                Re: Html Component Question

                rf wrote:

                [color=blue][color=green]
                >>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.[/color]
                >
                >
                > Different error correction?
                >
                >[color=green]
                >>Is this stuff case
                >>sensitive?? ??[/color]
                >
                >
                > HTML is not case sensitive.
                >[/color]


                XHTML is tho.

                --


                x theSpaceGirl (miranda)

                # lead designer @ http://www.dhnewmedia.com #
                # remove NO SPAM to email, or use form on website #

                Comment

                • Leif K-Brooks

                  #9
                  Re: Html Component Question

                  rf wrote:[color=blue]
                  > <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.c om" where "example.co m" may or may not be case
                  > sensitive depending on which operating system the server is running, however
                  > one could actually argue that the "example.co m" 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>[/color]

                  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>

                  Comment

                  • rf

                    #10
                    Re: Html Component Question


                    "Leif K-Brooks" <eurleif@ecritt ers.biz> wrote in message
                    news:2kctk2Fr8k pU1@uni-berlin.de...[color=blue]
                    > rf wrote:[color=green]
                    > > <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[/color][/color]
                    especially[color=blue][color=green]
                    > > Chinese and its derivatives (where there are not even any "letters"))[/color][/color]
                    where[color=blue][color=green]
                    > > there is no concept corresponding to upper and lower case) but the HTML[/color][/color]
                    bit[color=blue][color=green]
                    > > (the stuff inside the start and end tags, the attributes and so on) is[/color][/color]
                    not,[color=blue][color=green]
                    > > with the exception of the value of some of the attributes, such as in[/color][/color]
                    the[color=blue][color=green]
                    > > case of href="example.c om" where "example.co m" may or may not be case
                    > > sensitive depending on which operating system the server is running,[/color][/color]
                    however[color=blue][color=green]
                    > > one could actually argue that the "example.co m" bit is actually part of[/color][/color]
                    the[color=blue][color=green]
                    > > content, even though it does not appear as content within an element but
                    > > rather as the value of an attribute.
                    > > </pedantic>[/color]
                    >
                    > 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>[/color]

                    True.
                    --
                    Cheers
                    Richard.


                    Comment

                    • Matt Kruse

                      #11
                      Re: Html Component Question

                      rf wrote:[color=blue]
                      > value of some of the attributes, such as in the case of
                      > href="example.c om" where "example.co m" may or may not be case
                      > sensitive depending on which operating system the server is running[/color]

                      <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/


                      Comment

                      • Chris Morris

                        #12
                        Re: Html Component Question

                        "Matt Kruse" <newsgroups@mat tkruse.com> writes:[color=blue]
                        > rf wrote:[color=green]
                        > > value of some of the attributes, such as in the case of
                        > > href="example.c om" where "example.co m" may or may not be case
                        > > sensitive depending on which operating system the server is running[/color]
                        >
                        > <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>[/color]

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

                        --
                        Chris

                        Comment

                        • Grant Wagner

                          #13
                          Re: Html Component Question

                          rf wrote:
                          [color=blue]
                          > "Toby A Inkster" <tobyink@goddam n.co.uk> wrote in message
                          > news:pan.2004.0 6.29.05.25.47.3 26073@goddamn.c o.uk...[color=green]
                          > > rf wrote:
                          > >[color=darkred]
                          > > > HTML is not case sensitive.[/color]
                          > >[/color]
                          > <nitpick>[color=green]
                          > > Bits of it are. Compare <strong>Hello </strong> with[/color]
                          > <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.c om" where "example.co m" may or may not be case[/color]

                          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.
                          [color=blue]
                          > sensitive depending on which operating system the server is running, however
                          > one could actually argue that the "example.co m" 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>[/color]

                          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 <gwagner@agrico reunited.com>

                          * Client-side Javascript and Netscape 4 DOM Reference available at:
                          *


                          * Internet Explorer DOM Reference available at:
                          *
                          Learn with interactive lessons and technical documentation, earn professional development hours and certifications, and connect with the community.


                          * 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


                          Comment

                          • Eric B. Bednarz

                            #14
                            Re: Html Component Question

                            "rf" <rf@example.com > writes:
                            [color=blue]
                            > HTML is not case sensitive.[/color]

                            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

                            Comment

                            • Leif K-Brooks

                              #15
                              Re: Html Component Question

                              Grant Wagner wrote:[color=blue]
                              > rf wrote:[color=green]
                              >>case of href="example.c om"[/color]
                              >
                              > Actually, to nit-pick even more: example.com isn't case-sensitive either.
                              > Hostnames/domains are not case-sensitive.[/color]

                              But "example.co m" 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.

                              Comment

                              Working...