footer design in html code example

Example 1: html footer

<footer>
<!-- Footer links -->
  <nav>
	<a href="some-url" target="_blank">Footer link</a> <!-- opens in new tab -->
	<a href="some-url">Footer link</a>
	<a href="some-url">Footer link</a>
  </nav>
<!-- Copyright footnote -->
  &copy; 2020 Some copyright message.
<!-- Contact link -->
  <address>
    Contact <a href="mailto:[email protected]">me</a>
  </address>
</footer>

Example 2: html should the footer be inside body

<!-- The <footer> tag should be used within the <body> tag. -->
<body>
<footer>
</footer>
</body>

Tags:

Html Example