Login
Remember
Register
Ask a Question
What is the use of a span tag?
0
votes
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
What is the use of a span tag in HTML?
html-span-tag
span-tag
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 24, 2019
by
rajeshsharma
The span tag is used for following things:
For adding color on text
For adding background on text
Highlight any color text
Example:
<p>
<span style="color:#ffffff;">
In this page we use span.
</span>
</p>
...