HTML Tutorial
<footer>:The <footer> tag represents the footer of a web page. It typically contains information like contact details, copyright notices, or additional links.
<footer>:There are no specific attributes associated with the <footer> tag.
<footer>:<footer>
<p>Copyright © 2023 My Website</p>
<address>
<p>Contact us at:</p>
<p>Email: [email protected]</p>
<p>Phone: (123) 456-7890</p>
</address>
</footer>
Exploring the <footer> tag:
Here's a simple HTML example that demonstrates the use of the <footer> tag:
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<main>
<p>This is the main content of my website.</p>
</main>
<footer>
<p>Copyright © 2023 My Website</p>
<address>
<p>Contact us at:</p>
<p>Email: [email protected]</p>
<p>Phone: (123) 456-7890</p>
</address>
</footer>
</body>
</html>
By saving this file with a ".html" extension and opening it in a web browser, you can view the footer section at the bottom of the page.