如何在html中更改文本框中的字体大小 [英] How to change font size in a textbox in html
本文介绍了如何在html中更改文本框中的字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改HTML中文本框内文本的字体大小。 对于< input type ='text'>
element:
input {font-size: 18像素; }
或者< textarea>
:
textarea {font-size:18px; }
或者< select>
:
select {font-size:18px; }
你会得到漂移。
How can I change the font size of text inside the textbox in html.
解决方案
For a <input type='text'>
element:
input { font-size: 18px; }
or for a <textarea>
:
textarea { font-size: 18px; }
or for a <select>
:
select { font-size: 18px; }
you get the drift.
这篇关于如何在html中更改文本框中的字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文