Error: End tag div seen, but there were open elements.

I have tried to understand the Error: End tag div seen, but there were open elements, but when I have viewed the source code for this page http://www.roof-repairs-colchester.co.uk/index.html I can not see any problem with it. Can someone please help.
Shaun BartlettAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mukesh YadavFull Stack DeveloperCommented:
Try this ;)

Here 4 div elements don't have closing tags. These are:

     
  • <div class="wrapper">
       
  • <div class="row row-offcanvas row-offcanvas-left">
         <!--[if lt IE 7]><p class=browsehappy>You are using an <strong>outdated</strong> browser. Please <a href=http://browsehappy.com/ >upgrade your browser</a> to improve your experience.<![endif]-->
         
  • <div class="inner-wrapper">
           
  • <!-- Last div.container  -->
0
Shaun VermaakTechnical Specialist IVCommented:
Extra closing DIV here
div.jpg
0
Banshi lal dangiFull Stack DeveloperCommented:
As I am checking your code, closing tags are missing at few of the places.
1. Close the
<nav class="collapse navbar-collapse">

Open in new window

tag at line #96 after the closing </ul> tag.
2. Close the span tag at
<h2 class="lead-title"><span>Any Kind of Pitched Roof &amp; Flat Roofing Repairs</h2>

Open in new window

Before the closing </h2> tag at line #159
3.  Close the span tag at
 <h2 class="widget-title"><span>Popular Websites</h2>

Open in new window

Before the closing </h2> tag at line #321
4.  Close the span tag at
 <h2 class="widget-title"><span>Contact us</h2>

Open in new window

Before the closing </h2> tag at line #321
5.  Close the span tag at
 <h2 class="widget-title"><span>Office Hours</h2>

Open in new window

Before the closing </h2> tag at line #341
6.  Close the span tag at
 <h2 class="widget-title"><span>INFORMATION</h2>

Open in new window

Before the closing </h2> tag at line #355
7. Add a closing </div> tag for following
<div class="wrapper">
<div class="row row-offcanvas row-offcanvas-left">
<div class="inner-wrapper">

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Shaun BartlettAuthor Commented:
I have managed to correct most errors except those shown below, I am not sure where to add or remove the element with the error. If someone could show mw exactly what I should do by correcting the errors in the text below. ( source code of page http://www.roof-repairs-colchester.co.uk/ ).

1)
Error: End tag div seen, but there were open elements.
From line 97, column 1; to line 97, column 6
li>↩</ul>↩</div>↩ </di

2)
Error: Unclosed element nav.
From line 88, column 1; to line 88, column 38
default">↩<nav class="collapse navbar-collapse">↩<ul c

3)
Error: End tag for  body seen, but there were unclosed elements.
From line 397, column 1; to line 397, column 7
/script>↩↩</body>↩↩</ht

4)
Error: Unclosed element div.
From line 316, column 3; to line 316, column 25
 </div>↩  <div class="container">↩  <di

5)
Error: Unclosed element div.
From line 75, column 1; to line 75, column 27
endif]-->↩<div class="inner-wrapper">↩<div

6)
Error: Unclosed element div.
From line 73, column 1; to line 73, column 50
wrapper">↩<div class="row row-offcanvas row-offcanvas-left">↩<!--[

7)
Error: Unclosed element div.
From line 72, column 1; to line 72, column 21
d>↩<body>↩<div class="wrapper">↩<div
0
Shaun BartlettAuthor Commented:
I managed to fix all but one error, when I do correct the error below,  the formatting of the footer is changed and looks awful :

Error: End tag for  body seen, but there were unclosed elements.
From line 404, column 1; to line 404, column 7
/script>↩↩</body>↩↩</ht

Error: Unclosed element div.
From line 322, column 3; to line 322, column 25
 </div>↩  <div class="container">↩  <di
0
Banshi lal dangiFull Stack DeveloperCommented:
Hello Shaun,

Try to put closing div tag from #88 and #89  to before the </body> closing tag.
0
Shaun BartlettAuthor Commented:
At last, with the tips I have received there are no errors, thanks for your help everyone.

Colin
0
Banshi lal dangiFull Stack DeveloperCommented:
Answered
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.