html5+footer模板,HTML5 Footer

The HTML5 footer element is used to semantically mark the footer section of a

page, or of individual parts of the page. For instance, a page containing a list of blog posts

or articles may have a footer section for the whole page, and a footer section for each blog post / article.

Here is a diagram illustrating where the footer section of a HTML5 page is normally located:

ddf7b093af8635f26e1a5d693e3bfccb.png

The footer section of an HTML5 page.

Here is how it could look in HTML code:

Logo, logo text, top navigation links etc.

Navigation...

Main content...

Copyright notice, more links etc.

Remember that the footer element is a semantic element. It does not have any special look.

You can still style it using CSS though, as you can with a div element.

Also remember, that being a semantic element you do not have to put a footer element

into your page. The footer element is intended to be used by future intelligent browsers (maybe)

and web crawlers etc. but there is no guarantee about how these software components will use these elements.

Only the future will tell.

footer Elements in article Elements

An article element can also have a footer section, which could be enclosed in a footer

element too. Here is a diagram illustrating article elements with footer sections:

271b6525cca88c9ecb96a237570bc309.png

The footer section of article elements in an HTML5 page.

Here is how it could look in HTML5 code:

Logo, logo text, top navigation links etc.

Title, author, rating buttons etc. related to this article.

Article text...

Date of publishing or something else...

Copyright notice, more links etc.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值