What will be the color of the text?

<h1 style="color:blue"><span style="color:red">Colored HTML</span></h1>
Explanation
The <span> element is used to change a color of a text piece.
The <span> element is used for making groups of inline-elements in a web page.
There is no visual difference when you use <span> element.
The <span> element gives a way to add a kind of bookmark to a piece of a text or a part of a web page.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
HTML & CSS quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes