Search code examples
csshtmlfooterstyling

HTML&CSS - Should I style footer element? What is better practise?


I am currently learning web design and I have watched a lot of tutorials and read a ton of articles. Some people say that <footer> element is used for writing easy understandable code and basically just wrap their footer with these tags without styling it. But others put their content in it and use it for styling. So I have these questions:

  1. Should I style my <footer> tag, or create another <div> in it and apply style to it?
  2. If yes, is there a big difference?
  3. What most people do? What is better practice?

Solution

  • Basically footer tag is introduced to contain information such as the author of the document, copyright information, links to terms of use, privacy policy, etc.

    But It's on you, what you want in the footer side of page.

    There is no standard practices mentioned for footer or header tag