HTML常用转义字符对照表,如>

    如:在html标签中写入> 在浏览器输出后为>

                                    字符 转义字符
                                                " "
                                                & &
                                                > >
                                                < &lt;
                    不断开空格(non-breaking space) &nbsp;

  另外,常用的还有一个字符 ?,转义字符为比较繁多:&iexcl; &laquo; &not; &para; &cedil; &raquo; &frac14; &frac12; &frac34; &iquest;


猜你喜欢

转载自blog.csdn.net/qq_36818386/article/details/80377507
今日推荐