What is the footer section in HTML layout?

Query By: RAYKHA TIMALSINA

B

Bright Madhu

Footer Section Layout in HTML

The <footer> element is used to create the footer section of a web page. It is usually placed directly after the <main> content, and it comes after the main content of the page. The <footer> element provides semantic meaning about the website such as copyright notices, contact details, and other relevant content that appears at the bottom of the page.


Footer Section Layout by HTML Code

<!DOCTYPE html>

<html>

<head>

  <meta charset="UTF-8">

  <title>My Basic Web Page</title>

</head>

<body>

  <header>

    <!-- Add header content here -->

  </header>

  <main>

    <!-- Add main content here -->

  </main>

  <footer>

    <p>&copy; 2023 Website Name. All rights reserved.</p>

    <p>Contact: abc@abc.com</p>

  </footer>

</body>

</html>

1 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)