+ 1

Is there any attribute for bold and italic text?

If we can use <b> for bold and <i> italic and any attribute type and value for this?

5th Apr 2017, 9:37 AM
Mihir Ajmera
Mihir Ajmera - avatar
1 Antwort
+ 4
No, both have no attribute for them. Yes you can control their rendering using css properties. For sake of example b{ color:red; } will show all bold contents in red colour.
5th Apr 2017, 9:58 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar