更改文本区域的字体 [英] Changing The Font Of Text Area

查看:62
本文介绍了更改文本区域的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为这是一个简单而愚蠢的问题.我的html脚本中包含一个文本区域.

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.

推荐答案

是,使用CSS font-family属性,就像其他任何元素一样.

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

W3C具有 CSS教程,与 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆