I'm creating a website and I have the following structure:
<body>
<div class="container">
<?php require_once('includes/header.php'); ?>
<?php require_once('includes/main.php'); ?>
</div>
<?php require_once('includes/footer.php'); ?>
It's working normal, but I do not know if I'm doing it right, the footer is outside the container div, if I put it inside it it's not in the bottom of the site. I would like to know of those who know the development of websites the best structure for the development of websites.