My tags are not recognized by VS2005

Hi Experts
I created a Web page using c# ,Visual Studio 2003 and ASP 1.1. Now I am tryig to pass it  to Visual Studio Profecional 2005 and ASP 2.0.
My problems is that "My tags" doesn't want to be accepted for this changes. I have problems with my DIV, center,ASP, HTML, Body tags.
I searched by internet and I have founded that many people have this problem.

Can yall Help US??
Thanks
Eddy
eddyinperuAsked:
Who is Participating?
 
Bob LearnedCommented:
You need something in this page:

<html>
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        </div>
    </form>
</body>
</html>

Bob
0
 
Bob LearnedCommented:
Eddy,

What do you mean by "My tags"?

Bob
0
 
eddyinperuAuthor Commented:
Sorry about that .
I mean the tags in "mydocument.aspx" :
<HTML>  </HTML>
<form> </form>
<center> </center>
<DIV>   </DIV>
<ASP>  </ASP>

These are form the version VS2003, now I want to merger to VS2005 and all of these have problems.
Error 2 Validation (Internet Explorer 6): Element 'DIV' cannot be nested within element 'html'.

The Same for the other tags.
Thanks



0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Bob LearnedCommented:
Are the pages XHTML 1.0 Transitional or HTML 4.01 Transitional?

Bob
0
 
eddyinperuAuthor Commented:
HTML 4.0 Transitional
0
 
eddyinperuAuthor Commented:
Thanks...I think that what happend was that I didn't create the <body>..silly me!! Thanks anyway
eddy
0
 
irman_herdianaCommented:
How to change the "transitional" thing, mine 1?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.