Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个字符串 html ,在其中我无法更改字体大小和字体类型,我可以更改字体颜色。如何在其中使用特殊的字体类型和大小。
<![CDATA[ <font color=\"red\" size=20 ><b>Title</b></font> <p> text </p> ]]>
您可以像这样设置颜色、大小和字体:
<![CDATA[ <font color='red' size='20' face='serif'>title</font> <p>text</p> ]]>