注册 登录
编程论坛 VFP论坛

请教网页表格怎么设置字号大小?谢谢

wxzd123 发布于 2022-11-02 16:22, 876 次点击
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>
<body>
<table border="1" width="11%" id="table1">
    <tr>
        <td width="54">姓名</td>
        <td>性别</td>
    </tr>
    <tr>
        <td width="54">张三</td>
        <td>男</td>
    </tr>
    <tr>
        <td width="54">李四</td>
        <td>女</td>
    </tr>
</table>
</body>
</html>
怎么设置字号?谢谢
3 回复
#2
cjc10102022-11-02 17:41
最好学习一下CSS
#3
laowan0012022-11-02 18:57
<font size="3" color="red">This is some text!</font>
<font size="2" color="blue">This is some text!</font>

替换文本试试
#4
wxzd1232022-11-04 11:57
谢谢
1