
HTML
标记指定文档中的主要或重要内容。它每页只能使用一次,并且不能用作 、 示例
您可以尝试运行以下代码来了解如何在 HTML 文档中显示主要内容 -
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <!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中,我们如何显示文档中的主要内容?的详细内容。更多信息请关注PHP中文网其他相关文章!