HTML5 footer example, Definition of footer tag of HTML5.


 

HTML5 footer example, Definition of footer tag of HTML5.

In this section, you will see the use of footer tag of HTML5.

In this section, you will see the use of footer tag of HTML5.

HTML5 footer example, Definition of footer tag of HTML5.

The <footer> is present only in HTMl5. It gives additional information copyright, author of document, privacy, contact.
The <footer> is always exist at bottom of document.  A document can support more than one footer. You can not insert image in footer.

Declaration Syntax :

Declaration syntax of  footer in HTML5.

                  <footer> additional information</footer>

Attributes of footer:

Example of <footer> in HTML5:

Code:
FooterTag.html
<!DOCTYPE HTML>
<html>
<head></head>
<body>
<form style="height: 202px" >
<h1>RoseIndia </h1>
<b><p>It is a software company.</p></b>
<article>
RoseIndia.net is global services company that understands<br>
businesses
and aims to deliver value to its customers through<br>
its software solutions
and services.</article>
</form>
<footer>
<ul>
<li >
<a href="">About RoseIndia</a>||
<a href="">Privacy</a> ||
<a href="">Contact</a> ||
<a href="">Author</a> ||
<a href="">Copyright</a></li>
</ul>
</footer>
</body>
</html>
Output:

Download this code

Difference Between HTML5 and HTML4.01:

There is now difference, because HTML4.01 not support it.

Ads