• Register
0 votes
683 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

Please log in or register to answer this question.

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 189 views
189 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, 2020 mphil 2.3k points
0 votes
2 answers 493 views
493 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 290 views
290 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, 2020 maddi86 5.4k points
0 votes
1 answer 3 views
3 views
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Apr 1 rakib1 50.4k points
0 votes
1 answer 38 views
38 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, 2020 maddi86 5.4k points
0 votes
1 answer 2 views
2 views
Problem; Please let me know any solution regarding this .. how do you comment out in html
asked 3 days ago Ifra 24.4k points
0 votes
1 answer 2 views
2 views
Problem: I'm working on a web form with several fields and a submit button. When the button is clicked, I have to verify that the required text boxes have been filled in and that the phone number is in the correct format.
asked Mar 31 ummesalma 21.9k points
0 votes
1 answer 1 view
1 view
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Mar 30 tuhin1 46.7k points
0 votes
1 answer 22 views
22 views
Problem: Hello! I want the answer to the question mentioned above. This question was asked in a quiz I attempted recently and it confused me. Please explain the correct answer in some detail. Thanks!
asked Mar 3 Code Learner 9.2k points
0 votes
1 answer 3 views
3 views
Problem: Hi! Can any body help me with html tag opening?
asked Mar 18 PkGuy 13.1k points