Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am using Visual studio 2003 ASP.net application. I see red error line next to many html tags and the same error message for everone

error:

The active schema does not support the element 'HTML'

The active schema does not support the element 'meta'

 

but when i compile I have no problem in compilation but red error still stays.

 

and some times when a compiled version is compiled again I get error, when recomplied the error goes away.

Note: I think as a programmer not as a human, so use my answer at your will
  • Administrators
Posted

This isn't really a major problem all it means is you are using an HTML tag that isn't part of the schema (or standard) you have selected.

 

As an example if you create an ASPX page and set the targetSchema to IE3.0 then tags like will be flagged as a warning. The browser targeted may not support them correctly / at all.

 

If you are concerned with HTML compliance, or are design a publicly accessable website then these are things worth fixing - otherwise treat it as a warning that issues may arise.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...