thymeleaf-在font标签中的使用

<font color="red" th:text="开始了">font外</font>页面显示红色字体 开始了 (同时存在,则前者覆盖了后者,总的来说是以前者为准)

<font color="red" >font外</font> 页面显示红色字体 font外

<font color="red" th:text="开始了"></font>页面显示红色字体 开始了



原文地址:https://www.cnblogs.com/hongchengshise/p/10527686.html