Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing The Font Of Text Area

Tags:

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.

like image 633
Srivathsan Avatar asked Jun 19 '12 05:06

Srivathsan


People also ask

How do I change font size in a text box in HTML?

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.


1 Answers

Yes, using the CSS font-family property, just like any other element.

The W3C has a CSS tutorial as does Mozilla

like image 60
Quentin Avatar answered Oct 13 '22 00:10

Quentin