footer

 

用途

<footer> 元素定义文档或节的页脚。通常包含文档的作者、版权信息、使用条款链接、联系信息等等。一个文档中可使用多个 <footer> 元素。

使用说明:

  • <footer>元素内的作者信息应包含在<address> 元素中

例子

代码

<footer>
  <p>Posted by: HTML5开发专网</p>
  <p>Copyright (C) 2014-present hudaokeji.com All Rights Reserved<a href="http://hudaokeji.com">http://hudaokeji.com</a></p>
</footer>


执行结果

Posted by: HTML5开发专网

Copyright (C) 2014-present hudaokeji.com All Rights Reservedhttp://hudaokeji.com

属性

标准属性

事件属性

变更点

<footer> 标签是 HTML 5 中的新标签。

参考

外部链接