a <b is =“”not =“”identify =“”by =“”html

时间:2018-01-02 01:54:11

标签: html mathjax

=“”

这是我在html文件中的代码:

<li>For any $0 \leq s < t$, the random variable $B_t - B_s$ is normally distributed with mean 0 and variance $t-s$, i.e., for any $a<b$, </li>

It's supposed to appear a<b in the end.

然而,当我在Chrome中打开html时,我发现缺少了部分。可能是Chrome将<b标识为网站中的节点。有什么想法解决这个问题?

2 个答案:

答案 0 :(得分:4)

HTML中的

<表示标记。如果要确保显示小于或大于符号,则应使用实体。

示例:

使用&lt;代替<

使用&gt;代替>

答案 1 :(得分:1)

{+ 1}}字符在HTML中保留用于开始标记,因此后面的内容被解释为标记;正如您之前所做的那样,您可以使用<代替。

相关问题