+ 1
What is the function of the <span> attribute?
Whilst learning HTML, I came across the <span> tag which was included in a code but didn't make any difference when I ran the code. The code goes thus <h2><span>About me</span></h2> With or without the span tag, the result is the same so why do we need it, please?
2 Answers
+ 1
It is used when you want to style with css.