Page Language="C#"

Aug 14 2007 2:13 AM
Hi
Just started ASP.
Could anyone tell me why when i go to IIS Browse on the following file with this code
<%@ Page Language="C#" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
</head>
<body>
        <h1> Hello World</h1>
</body>
</html>

I then end up with this message on the browser

XML Parsing Error: not well-formed
Location: http://localhost/AspStepByStep/HelloAgain.aspx
Line Number 1, Column 2:<%@ Page Language="C#" %>
-^

Regards

Joe



Answers (2)