0

http://www.innovation.web.id/One/

Hello,

Can anyone help me fix this error?

I am trying to fix my code after validating the code according to international standard:

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.innovation.web.id%2FOne%2F

Error: Stray start tag div.

From line 180, column 1; to line 180, column 20

↩</body>↩↩<div id="footerbar">↩<div

footer.php

    <div id="footerbar">
<div class="row">


<div class="col-sm-4">
<div id="footer">

<div id="inside">
<br>
<h4>Newsletter</h4>
<p>Please enter your email address to subscribe to our newsletter</p>
<input type="text"><input type="submit" value="OK">

</div>
</div>
</div>

<div class="col-sm-4">
<div id="footer">

<div id="inside">
<br> 
<h4>Follow Us</h4>

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec suscipit molestie diam, at faucibus nibh consectetur tempus.</p>
<br>
<a href="#"><img src="Images/About/twitter.jpg" height="40"></a>
<a href="#"><img src="Images/About/fb.jpg" height="40"></a>
<a href="#"><img src="Images/About/googleplus.jpg" height="40"></a>
</div>

</div>
</div>


<div class="col-sm-4">
<div id="footer">

<div id="inside">
<br>
<h4>Contact Us</h4>

<table>
<tr>
<td style="width:90px;">Nama      :</td>
<td style="color: black;"><input type="text" name="nama" size="22"></td>
</tr>
<tr>
<td style="width:90px;">Message   :</td>
<td style="color: black;"><textarea rows="5" cols="19"></textarea></td>
</tr>
</table>

<!--
<p>Address: 25, Lomonosova St. Moscow, Russia, 665087</p>
<p>Phone: (888) 888-8888
<p>Email: info@rosetta.com
-->

<br><br>

</div>
</div>
</div>

</div>
</div>
2
Contributors
1
Reply
16
Views
2 Years
Discussion Span
Last Post by cereal
0

Hello,

move the </body> tag to the end of the page, just before the </html> tag. An HTML document is composed two main sections, head and body:

<html>

    <head>
        <title>Test</title>
    </head>

    <body>

        <!-- content area -->

        <h1>Hello</h1>
        <p>Bla bla bla</p>

        <!-- end of content area -->


        <!--
            Area where to start scripts
            that can to be loaded after
            page content is loaded, the
            equivalent of $(document).ready()
            in jQuery.
        -->
        <script>
            ...
        </script>
        <!-- end of javascript area -->

    </body>

</html>

The head section is used to define the document type, encoding and the resources to load such as scripts, fonts and styles possibly before rendering the content of the body section. Whatever you don't code inside the head section must to be placed in the body section. You must not write code outsite of these boundaries.

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.