Select Page

HTML5 footer element – How to use it

The <footer> element is a new element introduced in HTML5. As the name suggests, the <footer> element is typically located at the foot or bottom of the page.

nanadwumor

May 27, 2023
footer element

Share this article


The <footer> element is a new element introduced in HTML5. As the name suggests, the <footer> element is typically located at the foot or bottom of the page. However, this is not always the case. If the <footer> is located at the foot or bottom of the page, then it typically contains content about the author or site owner, copyright data, website terms and conditions, privacy policy etc.


Join other Subscribers on our YouTube channel and enjoy daily pogramming tutorials.


Syntax of <footer> element

Recommended


Program to demonstrate a footer at the bottom of the page

Output

footer at bottom of page

The <footer >element at bottom of page and in article

Output

The footer element at bottom of page and in article

Program to demonstrate the use of CSS to style a footer

Output

Program to demonstrate the use of CSS to style a footer

Global Attributes

The <footer> element supports the global attributes in HTML

Event Attributes

The <footer> element supports the event attributes in HTML

Default CSS Settings

The default CSS setting in most browsers is as below:


Share this article


You May Also Like…

Block And Inline Level Tags in HTML

Block And Inline Level Tags in HTML

Block elements start on a new line and end with a carriage return. That's, immediately after ending on a horizontal...

Selecting a browser for HTML5 development

Selecting a browser for HTML5 development

Google's Chrome browser is simple to use and has the most up-to-date HTML5 features making it easier for developers....

Top 10 HTML5 formatting tags

Top 10 HTML5 formatting tags

HTML offers a range of elements for formatting text. HTML formatting tags include : <b> - Bold text...