I’m using VS2005 to create an ASP.NET website, and in one of my aspx files I noticed that the <title> element was underlined in red. And the mouseover tooltip said “Element ‘title’ is not supported”.
Since I didn’t know what could cause this, I looked it up on Google, and to my surprise Google said it couldn’t find the exact text (in quotes).
So now I want to know
- What does this error mean?
- How can I get rid of it?
This is what my aspx looks like (after removing the content from the body; the error remains)
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head><title>Upload</title></head>
<body>
</body>
</html>
Well, after a Visual Studio update, the error condition hasn’t returned. So let’s just chalk it up to a bad VS installation.
That doesn’t explain why it only occurred in that one project, but as I haven’t been able to duplicate the problem, let’s just close this question.