PHP前端开发

我们如何在HTML文档中包含一个部分?

百变鹏仔 4周前 (09-21) #HTML
文章标签 文档

要添加部分,请使用 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>