This question already has answers here: How to display HTML tags as plain text(11个答案)6年前关闭。如何显示<b> > Greater than <b><b> < Less Than <b><b> <> Not Equal to <b>在上面的代码中,大于号不以粗体显示。其他人也一样 最佳答案 您需要使用ampersand html character codes注意第一组中的黑体符号。<b> > Greater than </b><b> < Less Than </b><b> <> Not Equal to </b><p> > Greater than < Less Than <> Not Equal to</p>关于html - 将HTML标记字符显示为纯文本,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/18904193/ 10-09 21:41