|
-
Jun 11th, 2003, 11:52 AM
#1
Thread Starter
Member
XHTML from asp.net ?
hi all!
i understand that asp.net pumps XHTML to the browser and its the standerd from w3c. but when i am trying to validate the aspx page with w3c then its giving me message that "not a valid page" how do i make the page a valid XHTML.
can any one clarify me in this regard
thanks
-
Jun 11th, 2003, 11:57 AM
#2
Thread Starter
Member
is there a way i can get the right xhtml by controlling asp.net or codebehind or any other settings.
??
-
Jun 11th, 2003, 12:15 PM
#3
Actually ASP.NET only pumps out older HTML 4.01 I believe. If you want to pump out XHTML, you will need top make your own web control's that push out tags that conform to the XHTML standard.
-
Jun 12th, 2003, 05:57 AM
#4
Member
One of the bigger problems with ASP.NET and XHTML is that ASP.NET creates form tags with both the name="" and id="" attributes, while the newest XHTML specification does not allow name anymore. XHTML 1.0 Transitional seems to work fine though. If anyone knows a way to stop ASP.NET from generating the name attribute, I'd like to hear it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|