HTML sementic tags

 HTML sementic tags



How understand the browsers that web consist of the header ,paragraph, details, summary ,footer and many other thing that include . This are the main things that browser understand .







<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML Semantic Tags</title>
</head>
<!-- div and span nothing tell about its content 
So that to tell about something related to the our website it is important
to give the semantic tags for example
form ,article,table,summary,footer,header ,section,time,nav-->

<body>
    <h2>Semantic Elements</h2>
    <details>
        <summary>Please click here to see the more content</summary>
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Laudantium neque voluptates laboriosam officia cum
        delectus sunt quaerat explicabo error possimus!
        <summary>Read the following</summary>
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Laudantium neque voluptates laboriosam officia cum
        delectus sunt quaerat explicabo error possimus!

    </details>
</body>

</html>

Post a Comment

Previous Post Next Post