+ 1

Can we change font style in HTML without the use of CSS?

7th Jul 2020, 5:20 PM
Wizking
Wizking - avatar
5 Answers
+ 6
Simple In HTML 👇 <p class="ob">This is Sololearn.</p> And in the CSS p.ob { font-style: italic/oblique/normal ; } Whatever you want For more info https://www.sololearn.com/learn/CSS/1086/?ref=app
7th Jul 2020, 5:24 PM
Nilesh
Nilesh - avatar
+ 3
In js use p.style.fontStyle="italic";
7th Jul 2020, 5:32 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
0
I'm so confused 😖. Have you a solution? In HTML precisely
7th Jul 2020, 7:26 PM
Wizking
Wizking - avatar