Advertisements
I want make text in the input tag italic. Help me please!
I try it:
<input type="text" id="Test"/>
JS:
let test = document.getElementById("Test")
test.value = "<i>Foo</I>"
>Solution :
You can use font-style: italic;
in the CSS instead.