最佳答案:html中的div设置字体大小方法一 我们设置DIV盒子字体大小为12px,在分别标签内使用style属性设置css font-size设置字体大小样式。 1、对应html源代码片段 <d
html中的div设置字体大小方法一
我们设置DIV盒子字体大小为12px,在分别标签内使用style属性设置css font-size设置字体大小样式。
1、对应html源代码片段
<div style="font-size:12px">设置div内字体大小为12px</div>
html中的div设置字体大小方法二
我们通过外部新建CSS选择器对指定div设置文字大小样式。