473,491 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

validation

Could u explain me the error that i give from th validation of this
site : www.fsw.it

thank u
Franco
Jul 23 '05 #1
5 1680

"Franco" <fr****@intenet.net> wrote in message
news:a4**************************@posting.google.c om...
Could u explain me the error that i give from th validation of this
site : www.fsw.it


You have a <p> which contains a <ul>
End the <p> before the <ul> starts.

-Karl
Jul 23 '05 #2

"Franco" <fr****@intenet.net> wrote in message
news:a4**************************@posting.google.c om...
Could u explain me the error that i give from th validation of this
site : www.fsw.it


"Line 54, column 5: end tag for element "P" which is not open"

Your </p> on line 54 is meant to match the <p> on line 44. But in between
you have a UL element (unordered list). A P element (paragraph) can only
contain inline code. It can't contain blocks. A list is a block.

The reason you didn't get an error back at line 47, where the <UL> for the
list is located, is that the end tag for a P element is optional. Therefore,
when the validator is in the middle of a P element and it finds the start
tag for something that isn't allowed in the P element, it just assumes that
the P element ends there, pretending there is a </p> immediately preceding
the new start tag (the <UL> in this case). In other words, it tries to avoid
finding an error at that point. Therefore, the validator is happy until you
get to the </p> on line 54, at which point you're not *in* a P element, so
you've got an end tag with no corresponding start tag.

Jul 23 '05 #3
Franco wrote:
Could u explain me the error that i give from th validation of this
site : www.fsw.it


Yes, you have attempted to include a list inside a paragraph, but
according to the HTML4 DTD, <p> cannot contain <ul> elements. Also,
then end tag for <p> is optional, thus it is automatically being closed
in the DOM when the <ul> is encountered, so the <p> is no longer open
when the </p> is reached.

Either take out the </p> entirely, or just move it to the end of the
paragraph, before the start of the list.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 23 '05 #4
On 2 Sep 2004 07:15:19 -0700, fr****@intenet.net (Franco) wrote:
Could u explain me the error that i give from th validation of this
site : www.fsw.it


The UL element is not part of the content model for element P.

Move your </p> markup to above the start tag for UL in the line number
area where the error is detected.

--
Rex
Jul 23 '05 #5
On 2 Sep 2004 07:15:19 -0700, Franco <fr****@intenet.net> wrote:
Could u explain me the error that i give from th validation of this
site : www.fsw.it

thank u
Franco

I just answered you in c.i.w.a.site-design. If you had NOT multi-posted
this, you would have saved me time.

Rather insensitive of you. If you wish to get advice from more than one ng
on the exact same question, cross-post it so we may see if it's been
answered already.
Jul 23 '05 #6

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

Similar topics

21
3877
by: Stefan Richter | last post by:
Hi, after coding for days on stupid form validations - Like: strings (min / max length), numbers(min / max value), money(min / max value), postcodes(min / max value), telefon numbers, email...
2
2130
by: wumingshi | last post by:
Hi, When validating an XML instance, sometimes the schema is not enough to expression the validation rules. Additional validation rules may be expressed in an application-specific way. For...
4
2586
by: Tim Meagher | last post by:
I am trying to use both validation controls and to add submit button attributes, but when I add the button attributes, the javascript fpr the validation controls is no longer created for the page. ...
14
6266
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)...
6
2395
by: Stephen | last post by:
Hi, the validation controls dont work on Netscape or Mozilla and only on Internet Explorer why? How do i correct this problem? Thanks
7
2030
by: Ryan Ternier | last post by:
We're running a site that has required field validation on the login page. It works fine on our development / test machines. However, when I upload this site to our live server i get this error. ...
5
3219
by: Chris | last post by:
Based upon some prevoius postings on what to do for adding a 'add' row to a datagrid I utilize the footer to create the 'add' row. The only issue is that I have it sharing the 'UpDate_Command' and...
4
2959
by: David Colliver | last post by:
Hi all, I am having a slight problem that hopefully, someone can help me fix. I have a form on a page. Many items on the form have validation controls attached. Also on this form are...
2
4492
by: dustbort | last post by:
I recently had a problem where my required field validator stopped working. But, the page still posted back and tried to insert a record into the database without performing server-side validation....
6
3333
by: Jon Paal | last post by:
validation doesn't fire what's missing ????? /////// ---- code -----/////////////////////////// Sub btnSubmit_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) 'Handles...
0
7112
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
6974
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
7146
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6852
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
5448
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
4878
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
3084
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
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
277
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.