Menu ▼

Previous Next

span :

span we will generally use to represent some text.

Syntax :

<span>Content here...</span>


Example :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <p>

        This is my paragraph and <span>this text is between the span tag</span> hope it

        helps you.

    </p>

</body>

</html>


Output :
HTML Tutorial

This is my paragraph and this text is between the span tag hope it helps you.

Previous Next




Search dotnetlearners.com