Introduction:
The HTML
Example:
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>
0 comments :
Post a Comment