show-notice
hide-notice

Friday 9 August 2013

HTML span Tag


Introduction:

The HTML span tag is used for grouping and applying styles to inline elements.The difference between the span tag and the div tag is that the span tag is used with inline elements whilst the div tag is used with block-level content.

Example:
<html>
<head>
<title>HTML span Tag</title>
</head>
<body>
<p>The <span style="color:green">span tag</span> and the <span style="color:purple">div 

tag</span> are *OK* man.</p> </div> 
</body>
</html>


SHARE THIS POST   

0 comments :

Post a Comment

Design by Gohilinfotech | www.gohilinfotech.blogspot.com