要添加部分,请使用 html 中的 标记。您可以尝试运行以下代码以在 html 文档中包含一个部分 -
示例<!doctype html><html> <head> <title>html section tag</title> </head> <body> <section> <h1>java</h1> <h3>inheritance</h3> <p>inheritance defines the relationship between superclass and subclass.</p> </section> </body></html>
以上就是我们如何在html文档中包含一个部分?的详细内容。