473,507 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please help me unders XHTML 1.1

I can understand what these error messages are telling me, but I guess I am
not sure how to address them all.

The bold tag could be handled in a class attribute, but I need a <br/tag
inside the form for formatting and the input fields are necessary for
getting data.

Error 3 Validation (XHTML 1.1): Element 'br' cannot be nested within element
'form'.
Error 7 Validation (XHTML 1.1): Element 'b' cannot be nested within element
'form'.
Error 9 Validation (XHTML 1.1): Element 'input' cannot be nested within
element 'form'.
Aug 16 '08 #1
2 2289
Please post the source code which is resulting in those error messages.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Henry Stock" <he***@henry-stock.comwrote in message news:eb**************@TK2MSFTNGP02.phx.gbl...
>I can understand what these error messages are telling me, but I guess I am not sure how to address them all.

The bold tag could be handled in a class attribute, but I need a <br/tag inside the form for formatting and the
input fields are necessary for getting data.

Error 3 Validation (XHTML 1.1): Element 'br' cannot be nested within element 'form'.
Error 7 Validation (XHTML 1.1): Element 'b' cannot be nested within element 'form'.
Error 9 Validation (XHTML 1.1): Element 'input' cannot be nested within element 'form'.


Aug 16 '08 #2
Here it is:

<form id="comments_form" action="comments.aspx" runat="server"
onsubmit="return jcap();" >

<p>If you would like to make a comment about the anything that you see on
our web site

or ask a question, then please feel free to use this comments form.</p>

<b>Your Name :</b><br/>

<input id="name" type="text" size="30" maxlength="256" name="Senders_Name"/>

<p></p>

<b>Your E-Mail Address :</b><br/>

<input id="email" type="text" size="30" maxlength="80" name="_reply"

onblur="return isValidEmail(email, true)"/>

<p></p>

<b>Your Phone Number:</b><br/>

<input id="phone"type="text" size="15" maxlength="15" name="Phone"/>

<p></p>

<b>Your Comments :</b><br/>

<textarea id="message" name="Senders_Comments" rows="6"
cols="60"></textarea>

<p></p>

<p>Please enter the word that you see in the image </p>

<p><script type="text/javascript">sjcap();</script></p>

<noscript><p>[This resource requires a Javascript enabled
browser.]</p></noscript>

<asp:button runat="server" id="contact_us" Text="Submit"
OnClick="contactUS_Click" />

<input type="reset" value="Reset"/>

</form>


"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OO**************@TK2MSFTNGP04.phx.gbl...
Please post the source code which is resulting in those error messages.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Henry Stock" <he***@henry-stock.comwrote in message
news:eb**************@TK2MSFTNGP02.phx.gbl...
>>I can understand what these error messages are telling me, but I guess I
am not sure how to address them all.

The bold tag could be handled in a class attribute, but I need a <br/>
tag inside the form for formatting and the input fields are necessary for
getting data.

Error 3 Validation (XHTML 1.1): Element 'br' cannot be nested within
element 'form'.
Error 7 Validation (XHTML 1.1): Element 'b' cannot be nested within
element 'form'.
Error 9 Validation (XHTML 1.1): Element 'input' cannot be nested within
element 'form'.



Aug 16 '08 #3

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

Similar topics

2
1521
by: ASallade | last post by:
Hello, I've scoured my books and the web, but am still daunted, hopefully some of the users in this newsgroup will have advice for my problem. I am not an experienced javascript programmer,...
29
4612
by: Paul | last post by:
Hi, I'd like to limit the number of selections a user can make in a multiple select listbox. I have a note on the interface to say that only x no. of items should be selected and I check the...
16
7065
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
3
1477
by: vivek9856 | last post by:
I am making a website and I need help promptly. Here is the code first off -----File Header.htm----- <HTML> <HEAD> <TITLE>Black Hawk Down</TITLE> </HEAD> <LINK REL=stylesheet...
0
5243
by: muder | last post by:
I have a standard Login ASP.NET 2.0 control on a login Page, a LoginName and LoginStatus controls on the member's page. once the user login successfully I am redirecting the user to Member.aspx...
9
1724
by: Randy | last post by:
Hi all, I've been working on a simple two column layout for a site, but according to browsershots.org, my desing is not showing up correctly in Win/IE 5.01, 5.5 & 6 ! Please see details here:...
9
2592
by: Alan Silver | last post by:
Hello, Please look at http://www.kidsinaction.org.uk/ie/ie.html in IE6 and notice that there is a white vertical line on the right of the white bit. This is caused (AFAICS) by IE not putting the...
2
2362
by: itsvineeth209 | last post by:
My task is to create login control without using login control in tools. I shouldnt use sqldatasource or any other. I should use only data sets, data adapters and data readers etc. U had created...
112
4584
by: Prisoner at War | last post by:
Friends, your opinions and advice, please: I have a very simple JavaScript image-swap which works on my end but when uploaded to my host at http://buildit.sitesell.com/sunnyside.html does not...
0
7223
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
7111
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
7319
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,...
0
7485
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
5623
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
5042
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
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
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.