<!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:-
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>
<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
Html: span tag
Reviewed by Network security
on
April 29, 2019
Rating:
No comments: