HTML <section>标签指定文档中的一个部分。
<!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>
这将产生以下结果-
链接:https://www.learnfk.comhttps://www.learnfk.com/html/html-section-tag.html
来源:LearnFk无涯教程网
此标签支持- HTML属性参考中所述的所有全局属性。
此标签支持- HTML事件参考中所述的所有事件属性。
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)