validation error...

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

    validation error...

    i'm trying to load a html page into a div. it works, but won't validate!

    here's the feedback:
    Below are the results of attempting to parse this document with
    an SGML parser.

    Line 71 , column 11 :there is no attribute "src"

    <div src= "project/matt.html" name="img" ></div>

    Line 71 , column 36 :there is no attribute "name"

    <div src="project/matt.html" name= "img" ></div>

    here's the site:


    thnx for any feedback

    james

  • Jukka K. Korpela

    #2
    Re: validation error...

    ja ba <jbouderrs@aol. com> wrote:
    [color=blue]
    > i'm trying to load a html page into a div. it works, but won't
    > validate![/color]

    Define "works". The validation part is easy. A validator by definition
    checks whether your document complies with the formal syntax you have
    specified. If you don't know what to do with a mismatch report, why did
    you try to validate in the first place?
    [color=blue]
    > Line 71 , column 11 :there is no attribute "src"
    >
    > <div src= "project/matt.html" name="img" ></div>[/color]

    Check what the DTD you specified says about the attributes of <div>.
    [color=blue]
    > http://www.infectdesign.com
    >
    > thnx for any feedback[/color]

    Totally illegible. There's hardly much point in trying to fix the page.
    Honestly, you will make it a decent WWW page much faster by rewriting it.
    First learn some HTML, and use it only. When it works, consider adding
    CSS and JavaScript.

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

    Comment

    • Shawn K. Quinn

      #3
      Re: validation error...

      ja ba wrote:
      [color=blue]
      > i'm trying to load a html page into a div.  it works, but won't validate!
      >
      > here's the feedback:
      > Below are the results of attempting to parse this document with
      > an SGML parser.
      >
      > Line 71 , column 11 :there is no attribute "src"
      >
      > <div src= "project/matt.html" name="img" ></div>
      >
      > Line 71 , column 36 :there is no attribute "name"
      >
      > <div src="project/matt.html" name= "img" ></div>[/color]

      Not surprisinglly, the message means just what it says. It's not valid
      because there is no such attribute as SRC or NAME on a DIV element.



      --
      Shawn K. Quinn

      Comment

      • ja ba

        #4
        Re: validation error...

        On 2004-05-14 19:15:18 -0400, "Jukka K. Korpela" <jkorpela@cs.tu t.fi> said:
        [color=blue]
        > ja ba <jbouderrs@aol. com> wrote:
        >[color=green]
        >> i'm trying to load a html page into a div. it works, but won't
        >> validate![/color]
        >
        > Define "works". The validation part is easy. A validator by definition
        > checks whether your document complies with the formal syntax you have
        > specified. If you don't know what to do with a mismatch report, why did
        > you try to validate in the first place?
        >[color=green]
        >> Line 71 , column 11 :there is no attribute "src"
        >>
        >> <div src= "project/matt.html" name="img" ></div>[/color]
        >
        > Check what the DTD you specified says about the attributes of <div>.
        >[color=green]
        >> http://www.infectdesign.com
        >>
        >> thnx for any feedback[/color]
        >
        > Totally illegible. There's hardly much point in trying to fix the page.
        > Honestly, you will make it a decent WWW page much faster by rewriting
        > it. First learn some HTML, and use it only. When it works, consider
        > adding CSS and JavaScript.[/color]

        pretty helpful, thanks. wonderful!

        Comment

        • Jan Roland Eriksson

          #5
          Re: validation error...

          On Sat, 15 May 2004 19:45:39 GMT, ja ba <jbouderrs@aol. com> wrote:
          [color=blue]
          >On 2004-05-14 19:15:18 -0400, "Jukka K. Korpela" <jkorpela@cs.tu t.fi> said:
          >[color=green]
          >> ja ba <jbouderrs@aol. com> wrote:[color=darkred]
          >>> http://www.infectdesign.com
          >>> thnx for any feedback[/color][/color][/color]
          [color=blue][color=green]
          >> Totally illegible. There's hardly much point in trying to fix the page.
          >> Honestly, you will make it a decent WWW page much faster by rewriting
          >> it. First learn some HTML, and use it only. When it works, consider
          >> adding CSS and JavaScript.[/color][/color]
          [color=blue]
          >pretty helpful, thanks. wonderful![/color]

          Yes; I sure hope you do take that recommendation serious if you really
          want visitors.

          Key point being that I can't read your text either, your font size is
          way too small and the individual characters looks like "fliegendre ck" to
          say the least. (and my comment here is serious, I'm not trying to
          patronize you, please believe me)

          I take it you have used pixel sizing for your font(s) since MSIE does
          not react on its internal font size change command either.

          In short; if this page of yours is intended for the WWW, it's time for
          you to go "back to the drawing board".

          --
          Rex


          Comment

          Working...