Example

Span Tag in HTML

HTML

<!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>span Tag in HTML</title>
    </head>
    <body>
<!--
    <span> : inline container used to mark up a part of a text, or a part of a document.        
-->

        <h1>Demo: span Tag in HTML</h1>
        
        <p>
            <span><strong>HOME</strong></span>
            <span>SERVICES</span>
            <span>ABOUT</span>
            <span>CONTACT</span>
        </p>

        <p>Skillzam - <span>Learn without limits</span>!</p>
        
    </body>
</html>
                                    

Output

View original