O-mkar O-mkar - 1 year ago 73
HTML Question

Is there any way to remove italic effect <i> tag using css

How do i remove italic effect of

tag so i can

<span >test<i>test</i>

I am filling some text in
tag using jquery inner html so it comes in italic so i don't want italic effect is there any way i can remove italic effect using css. i cant use other tag so only need to use

Answer Source

Just need to use the next CSS code:

CSS code

    font-style: normal;   

HTML code

<span >test <i class='noItalics'>test</i>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download