Is it possible to have two span tags within a paragraph element with each span tag having its class attribute and a value. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to have two span tags within a paragraph element with each span tag having its class attribute and a value.

If it's possible,can someone show me how the code will be written

28th Jan 2020, 5:03 PM
Aishat Alli
Aishat Alli - avatar
2 Answers
+ 5
You can have many span tags in paragraph. Check My this code for example. Here I have used many span tags with same class. You can try for different classes. https://code.sololearn.com/WnsV9yS5TAud/?ref=app
28th Jan 2020, 5:06 PM
A͢J
A͢J - avatar
0
Thanks A J
28th Jan 2020, 5:15 PM
Aishat Alli
Aishat Alli - avatar