HTML <section> tag
HTML <section> tag : Definition
• The HTML <section> tag is used to group together related elements and defines a section in a html document such as header, footer or other sections.
Html <section> tag example
<!DOCTYPE html> <html> <head> <title>section Tag example</title> </head> <body> <section> <h1>Welcome to AimToCode</h1> <p>Welcome and thank you for learning the web technology from our website.</p> </section> </body> </html>
Output :
Welcome to AimToCode
Welcome and thank you for learning the web technology from our website.