footer tag in html5 with example


  1. The <footer> tag is use to define footer section of a html document.
  2. Footers usually contain information such as the author of the document, copyright information, links to terms of use, privacy policy, etc.
  3. A document/section can have more than one footer element.
  4. The <footer> tag is supported in Internet Explorer 9, Firefox, Opera, Chrome, and Safari. IE8 and earlier versions does not support <footer> element.


Example 1 :

<html>
    <head><title>mark tag in html5</title>
    <style type="text/css">
    footer
    {
        margin-left:200px;
        margin-top:100px;
    }
    </style>
    </head>
    <body>
        <b style="margin-left:240px;"><u>jQuery</u></b>
        <br />
        <br />
        <p>The footer tag is use to define footer section of a html document.
Footers usually contain information such as the author of the document, copyright information, links to terms of use, privacy policy, etc.
            A document/section can have more than one footer element.</p><br />
        <p>
The footer tag is supported in Internet Explorer 9, Firefox, Opera, Chrome, and Safari. IE8 and earlier versions does not support footer element.</p>
        <footer>© 2013 20Fingers2Brains</footer>
    </body>
</html>


Demo :



In the above example, we have use footer element. We have shown copyright information using footer element.


0 comments:

Post a Comment