Home >Web Front-end >Front-end Q&A >How to use html section tag
html section tag is used to define sections (sections, sections) in the document. Such as chapters, headers, footers, or other parts of the document. The
#html How to use the section tag?
Function: Define sections (sections, sections) in the document. Such as chapters, headers, footers, or other parts of the document.
Description: The
Note: All browsers support the
html section label example 1
<!DOCTYPE html> <html> <body> <section> <h1>php.cn</h1> <p> PHP中文网:独家原创,永久免费的在线php视频教程,php技术学习阵地! </p> </section> </body> </html>
Running result:
html section label example 2
<!DOCTYPE html> <html> <meta charset="utf-8"> <body> <section> <h1>西门大官人</h1> <p> 西门大官人的视频教程和直播课程推荐一看。 </p> </section> </body> </html>
Running results:
The above is the detailed content of How to use html section tag. For more information, please follow other related articles on the PHP Chinese website!