I think this is a simple and a silly question. I have included a text area in my html script.
Is it possible to change the default font of the text area?
The default one doesn't look good. I hope there is a way to change it.
To change font size in HTML, use the CSS font-size property. Set it to the value you want and place it inside a style attribute. Then add this style attribute to an HTML element, like a paragraph, heading, button, or span tag.
Yes, using the CSS font-family
property, just like any other element.
The W3C has a CSS tutorial as does Mozilla
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With