By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

validation error...

P: n/a
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:
http://www.infectdesign.com

thnx for any feedback

james

Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
ja ba <jb*******@aol.com> wrote:
i'm trying to load a html page into a div. it works, but won't
validate!
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?
Line 71 , column 11 :there is no attribute "src"

<div src= "project/matt.html" name="img" ></div>
Check what the DTD you specified says about the attributes of <div>.
http://www.infectdesign.com

thnx for any feedback


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

Jul 20 '05 #2

P: n/a
ja ba wrote:
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>


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.

http://www.w3.org/TR/html401/struct/....html#edef-DIV

--
Shawn K. Quinn
Jul 20 '05 #3

P: n/a
On 2004-05-14 19:15:18 -0400, "Jukka K. Korpela" <jk******@cs.tut.fi> said:
ja ba <jb*******@aol.com> wrote:
i'm trying to load a html page into a div. it works, but won't
validate!


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?
Line 71 , column 11 :there is no attribute "src"

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


Check what the DTD you specified says about the attributes of <div>.
http://www.infectdesign.com

thnx for any feedback


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.


pretty helpful, thanks. wonderful!

Jul 20 '05 #4

P: n/a
On Sat, 15 May 2004 19:45:39 GMT, ja ba <jb*******@aol.com> wrote:
On 2004-05-14 19:15:18 -0400, "Jukka K. Korpela" <jk******@cs.tut.fi> said:
ja ba <jb*******@aol.com> wrote:
http://www.infectdesign.com
thnx for any feedback
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.
pretty helpful, thanks. wonderful!


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 "fliegendreck" 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
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.