Validating asp.net with W3C standards

I’m a little stuck, I’m not necessarily a fan of C# or ASP.NET (I think it might be the amount of tables :unamused: ). Anyways my question there lies, is there a specific validator for ASP.NET? I’ve noticed ASP.NET don’t necessarily comply with W3C standards, which make me somewhat wonder how is this code even valid!

Below are the type of errors I’m receiving, and I’m not sure how to go about validating when a lot of these errors are just how ASP.NET is.

If someone could shed some insight, that would be awesome!

What’s your doctype?

Also text attribute is illegal. So you need to get your ASP.NET to not set it as an attribute. I don’t know .NET I’m just telling you about HTML.

Doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

I didn’t code this, which is half my battle. I don’t even have the back-end to this code. I have the majority of the pages, all of the CSS, images, etc, for the most part. Makes life a little difficult.

I code with HTML5 standards, this is not my idea of fun. This has been my ten months of hell lol

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.