Home >Web Front-end >Front-end Q&A >Is footer a tag of html5?

Is footer a tag of html5?

青灯夜游
青灯夜游Original
2022-03-11 18:23:574750browse

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".

c37f8231a37e88427e62669260f0074d tag defines the footer of a document or a portion of a document. The c37f8231a37e88427e62669260f0074d 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 c37f8231a37e88427e62669260f0074d 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>

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!

Statement:
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