0
votes

Okay so i am doing html/javascript, and there is this button that redirects to another page on my html. However when i click that button, this error showed up

XML Parsing Error: not well-formed

Location: file:///C:/Users/NP%20Student/Documents/Visual%20Studio%202010/WebSites/WebSite2/Default.aspx

Line Number 1, Column 2:

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"

-^

What is the problem here? Can any kind soul help me out.

1
Need to see some code. If anything, this is more an ASP.NET question than a pure HTML question.BoltClock♦

1 Answers

0
votes

If you open a page with non-html-code at the beginning in a browser, the browser doesn't know what he should do (because in your case he doesn't know aspx code) and displays the code itself or throws an error.