修改字体颜色语法如下,两者选其一就行:
<font style="color: red;">hello world</font>
$\color{red}{hello world}$
效果图:
同上
<font style="background:red">hello world</font>
$\colorbox{red}{hello world}$
效果图:
修改字体颜色语法如下,两者选其一就行:
<font style="color: red;">hello world</font>
$\color{red}{hello world}$
效果图:
同上
<font style="background:red">hello world</font>
$\colorbox{red}{hello world}$
效果图: