Html: span tag

<!DOCTYPE html>
<html>

<head>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>span tag</title>
</head>

<body>

 <span>This is the sample span</span> was end.

</body>

</html>.                                                                                                                 Output:-This is the sample span was end.    Definition:-
<span> tag
  • This tag is used for grouping and applying styles to inline elements.
  • This tag is similar to <div> tag, to see difference between the two, check the next example.
  • Html: span tag Html: span tag Reviewed by Network security on April 29, 2019 Rating: 5

    No comments:

    Useful Information

    Powered by Blogger.