What is the best way to position a footer if we know its height?
For instance, if the height of the footer is 100px:
footer {
position:absolute;
bottom: 100px;
background: red;
}
If this approach is not recommended, could someone assist me in positioning a footer using only HTML5 tags without additional divs? I have come across some solutions that involve extra divs.