+ 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 Answer
+ 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