Footer tag_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:49
Original
1357 people have browsed it

footer

The

footer element can be the end of its direct parent content block or a root block. The footer usually includes additional information about its related blocks, such as author, related reading links, and copyright information.

In the past (and currently), we usually use code like the following to write the footer of the page:

<div id="footer"> <ul> <li>copyright</li> <li>sitemap</li> <li>contact</li> <li>to top</li> </ul><div>
Copy after login

In HTML5, we can not use div, but use more semantic Written as footer:

<footer> <ul> <li>copyright</li> <li>sitemap</li> <li>contact</li> <li>to top</li> </ul></footer>
Copy after login

Multiple footer elements can be used in the same page, which can be used as the footer of the entire page or as the end of a content block. For example, we You can write the footer directly in the section or article:

<section>Section content appears here.<footer>  Footer information for section.</footer></section><article>Article content appears here.<footer>  Footer information for article.</footer></article>
Copy after login

Concise version of HTML5 study notes (3): new elements hgroup, header, footer, address, nav

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!