本文介绍了HTML - 用<>显示文本在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我想要显示箭头之间的文本,例如< UIKit / UIKit.h>
,它不会显示,因为它认为它是一个标签而不是文本。
I've run into a problem that with HTML if I want to show some text which is in between arrows, for example, <UIKit/UIKit.h>
, it won't be displayed because it thinks it's a tag not text.
我试过了:
I have tried:
<p><UIKit/UIKit.h></p>
但是这也行不通,你怎么解决这个问题?
But that doesn't work either, how do you get around this?
推荐答案
& lt;
和& gt;
是您应该用来代替<
并且大于>
符号的HTML实体。
<
and >
are the HTML entities you should use in place of less than <
and greater than >
symbols.
这篇关于HTML - 用<>显示文本在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!