We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第409天 pre与xmp标签有什么区别?
3+1官网
我也要出题
The text was updated successfully, but these errors were encountered:
xmp的标签,会复把抱在内部的html片段当作字符串输出(此标签已废弃) <pre></pre> 标签,可以在保留原来文本格式的基础制上让文本在页面上显示出来 <pre> 标签中的特殊符号被转换为符号实体,比如 "<" 代表 "<",">" 代表 ">"。
<pre></pre>
<pre> 标签中的特殊符号被转换为符号实体,比如 "<" 代表 "<",">" 代表 ">"。
xmp <xmp> <div>xmp</div> </xmp> //输出 <div>xmp</div>
<xmp> <div>xmp</div> </xmp>
<div>xmp</div>
pre <pre> <strong>pre</strong> </pre> //输出 加粗的pre
<pre> <strong>pre</strong> </pre>
Sorry, something went wrong.
<p>测试 空格</p>
1、pre标签:按原样输出,保留所有的空格和换行符。 2、xmp标签:会把内部的html片段当作字符串输出
No branches or pull requests
第409天 pre与xmp标签有什么区别?
3+1官网
我也要出题
The text was updated successfully, but these errors were encountered: