示例

您可以尝试运行以下代码来了解如何在 HTML 文档中显示主要内容 -

<!DOCTYPE html>
<html>
   <body>
      <main>
         <h1>Learning</h1>
         <p>Learn to gain experience and try to share your knowledge with others.</p>

         <article>
            <h3>Web Development Tutorials</h3>
            <p>Consist of CSS, HTML, and PHP tutorials for 2nd Semester exams.</p>
         </article>

         <article>
            <h3>Academic Tutorials</h3>
            <p>Consist of Computer Fundamental, Computer Network tutorials for 1st Semester exams.</p>
         </article>
      </main>
   </body>
</html>

以上就是在HTML5中,我们如何显示文档中的主要内容?的详细内容,更多请关注双恒网络其它相关文章!

简简单单挺好的

联系我们 订单查询