cellpadding attribute of the tableth, td {
border: 1px solid black;
padding: 5px;
}table#myTable {
border-collapse:collapse;
}As default, borders are separated (with value: separate), but when the property value is collapse, then borders are collapsed into a single border.container {
box-sizing: border-box;
}Another way to avoid border, padding PX calculations* {
margin: 0px;
padding: 0px;
}.container {
width:1000px;
margin:0px auto;
}<header> and <footer> elements can be used in <article>. Example:
<article>
<header>
<h2>some header</h2>
</header>
<p> some paragraph</p>
<p> some other paragraph</p>
<footer>
written by Quentin Watt
</footer>
</article>
<main> element in a document.
The <main> element must NOT be a descendant of an <article>, <aside>, <footer>, <header>, or <nav> element.<footer> element typically contains:
authorship information
copyright information
contact information
sitemap
back to top links
related documents<h1> - <h6>), also logo or icon
Note: You can have several <header> elements in one HTML document.
However, <header> cannot be placed within a <footer>, <address> or another <header> element.