Is footer a tag of html5?

青灯夜游
Release: 2022-03-11 18:23:57
Original
4730 people have browsed it

footer is an html5 tag. Footer is a new semantic tag in HTML5, which is used to define the footer of a document or a part of a document; generally, this tag is used to include the name of the author, the creation date of the document, and contact information.

Is footer a tag of html5?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

footer is an html5 tag, which is a new semantic tag added to html5.

footer tag: represents the footer of "web page" or "section".

tag defines the footer of a document or a portion of a document. The
element should contain information about the element it contains.

Typically, this element will contain the name of the document's creator, the document's copyright information, a link to the terms of use, contact information, and so on.

In a document, you can define multiple

elements.

If the footer elements contain the entire section, then they represent appendices, indexes, promotions, license agreements, tags, categories, and other similar information.

<footer>
  作者:xxxx <br />
 Copyright © xxx.All rights reserved.
</footer>
<!--之前使用的是无语义的div+class-->
<div class=&#39;footer&#39;>...</div>
Copy after login

Usage:

  • can be the bottom part of the "web page" or any "section";

  • has no number The restrictions are similar to the header except that the content of the package is different.

  • is mostly used to include terms of service, friendly links, author information, copyright information, etc.

[Related recommendations: html video tutorialweb front end

The above is the detailed content of Is footer a tag of html5?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template