0

Hello Guys

Can you please help me, I'm getting an error message: Element 'html' cannot be nested within element 'div'.
I have been trying for a long time to fix this problem. One of the solutions I tried was to delete that linr completely but nothing was being returned upon running the application.
It is being detected where I've highlightd in the code below.

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
      <html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
    <title>Picture Upload</title>
</head>

Thank you

2
Contributors
1
Reply
7
Views
9 Years
Discussion Span
Last Post by komodo891
0

I am not really good at coding myself but I think that this is how is should be ordered. Anyone correct me if I am wrong. Hope it helps!

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
    <title>Picture Upload</title>
</head>

<form id="form1" method="post" runat="server" >
<Div>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</div>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.