您现在的位置是:网站首页> 编程资料编程资料
详解HTML5中的<aside>元素与<article>元素详解HTML5中div和section以及article的区别HTML5中div、article、section的区别及使用介绍HTML5中的Article和Section元素认识及使用
2023-10-14
502人已围观
简介 这篇文章主要介绍了详解HTML5中的<aside>元素与<article>元素,是HTML5入门学习中的基础知识,需要的朋友可以参考下</article></aside>
HTML
不要使用
使用例子:
XML/HTML Code复制内容到剪贴板
- <article>
- <p>
- The Disney movie <em>The Little Mermaidem> was
- first released to theatres in 1989.
- p>
- <aside>
- The movie earned $87 million during its initial release.
- aside>
- <p>
- More info about the movie...
- p>
- article>
当
代码样例
XML/HTML Code复制内容到剪贴板
- <article class="film_review">
- <header>
- <h2>侏罗纪公园h2>
- header>
- <section class="main_review">
- <p>Dinos were great!p>
- section>
- <section class="user_reviews">
- <article class="user_review">
- <p>Way too scary for me.p>
- <footer>
- <p>
- Posted on <time datetime="2015-05-16 19:00">May 16time> by Lisa.
- p>
- footer>
- article>
- <article class="user_review">
- <p>I agree, dinos are my favorite.p>
- <footer>
- <p>
- Posted on <time datetime="2015-05-17 19:00">May 17time> by Tom.
- p>
- footer>
- article>
- section>
- <footer>
- <p>
- Posted on <time datetime="2015-05-15 19:00">May 15time> by Staff.
- p>
提示: 本文由神整理自网络,如有侵权请联系本站删除!
本站声明:
1、本站所有资源均来源于互联网,不保证100%完整、不提供任何技术支持;
2、本站所发布的文章以及附件仅限用于学习和研究目的;不得将用于商业或者非法用途;否则由此产生的法律后果,本站概不负责!
点击排行
本栏推荐
