473,395 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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

thnx for any feedback

james

Jul 20 '05 #1
4 2269
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Shone | last post by:
I would like to perform a 2-pass XML reading from a stream. Once using the Validating reader, just to confirm the validity against the schema, and next time to do a reading to extract the data....
2
by: Doslil | last post by:
I am trying to validate the fields in my database.I have already validated the fields to check for not null.Here is what I have written for Numeric and text field. Private Function EENUM() On...
3
by: Rob Meade | last post by:
Hi all, I have a login page which has username and password fields, a login button, and 2 validation controls (one for each field) - currently I have controls to display to the summary if the...
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
2
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the...
12
by: Nalaka | last post by:
Hi, I suddenly started getting a lot of errors from html validation (some CSS) so I followed the following instructions to disable it. If you'd rather not have these types of HTML validation...
9
by: julie.siebel | last post by:
Hello all! As embarrassing as it is to admit this, I've been designing db driven websites using javascript and vbscript for about 6-7 years now, and I am *horrible* at form validation. To be...
11
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether...
3
by: teo | last post by:
Mozilla error on postback and validation ----------- A Button causes a Listbox to desappear. If no item has been selected on the Listbox, all is OK. If one or more items are selected,
7
ak1dnar
by: ak1dnar | last post by:
Hi, I got this scripts from this URL There is Error when i submit the form. Line: 54 Error: 'document.getElementbyID(....)' is null or not an object What is this error. Complete Files
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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...
0
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
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
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,...

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.