• Register
0 votes
338 views

Problem :

I was hoping that someone may know how to resolve the below HTML5 validation error. When I try to validate my page it gives me a below error :

“Error Line 90, Column 63: An body start tag seen but an element of the same type was already open.

<body class="home blog single-author two-column right-sidebar">”

I have interpreted above error to mean that I have two body tags in my code. But, I have searched everywhere in my code and can only find the one <body> (the one referenced by above error) and one </body>. Can anyone please tell me how to fix above error?

7 5 2
3,870 points

1 Answer

0 votes

Solution :

I had below code:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>

When it was supposed to be like below:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

I knew that was very wrong but it is hard to spot sometimes, as you are just so used to a header code being correct 99% of a time. I obviously cut n pasted some code and that ended up in a wrong place.

This is not very specific to your question but I know as your error relates to the <body> tag, but this is a kind of thing you are looking for. Maybe you have the <link> or <meta> tag in your body somewhere, that clearly means to be in the <head>. Without seeing the code, it is very hard to give you a perfect answer.

9 7 4
38,600 points

Related questions

0 votes
1 answer 45 views
45 views
Problem : I am beginner to html. I have recently started learning html. When I tried to process my web page in a W3C validator it started showing me below error &ldquo;Start tag head seen but an element of the same type was already open&rdquo;. But when I try to remove the ... I re add a start tag then the error comes back again. How can I fix this issue? Can anybody help me in fixing this issue?
asked Mar 6 mphil 2.3k points
0 votes
2 answers 133 views
133 views
Problem : Facing following strange error the value of the for attribute of the label element must be the id of a non-hidden form control.
asked Nov 12, 2019 peterlaw 6.9k points
0 votes
1 answer 81 views
81 views
Problem: I am new and learning, I need help, can anyone help by filling in the blanks? When CSS is coded in the body of the web page as an attribute of an HTML tag it is called _____?
asked Feb 21 maddi86 5.4k points
0 votes
1 answer 27 views
27 views
Problem: Can anyone help it was actually asked in exam as following and I need to know whether my answer was right or not? When coding an audio element, the code placed before the closing audio tag is considered to be: Question options: invalid fallback content only available to browsers that support HTML5 required
asked Feb 21 maddi86 5.4k points
0 votes
2 answers 36 views
36 views
Problem: What organization formed in 1988 to lobby for an open UNIX after AT&T formed a partnership with Sun Microsystems to develop a single proprietary UNIX?
asked Apr 6 ArifulIslam 5.7k points