Hi.i想知道为什么不能使用& lt;预&安培; GT; HTML中的标记 [英] Hi.i want to know that why shouldnt use < pre> tag in HTML
本文介绍了Hi.i想知道为什么不能使用& lt;预&安培; GT; HTML中的标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi.i想知道为什么不能使用< pre>用HTML标记
我尝试过:
Hi.i想知道为什么不能使用< pre> html中的标签
Hi.i want to know that why shouldnt use <pre> tag in html
What I have tried:
Hi.i want to know that why shouldnt use <pre> tag in html
推荐答案
正如Richard所说,没有必要在HTML中不使用pre标签 - 只要你明白标签中包含的所有内容是预先格式化的(有一个提示名称:-))它将完全按原样呈现。
这里是几个更彻底解释它的链接
您需要知道的关于HTML的所有内容'pre'元素 - SitePoint [ ^ ]
设计样式的注意事项<前>标签 - Media Temple博客 [ ^ ]
As Richard has said, there is no need whatsoever to not use the pre tag in HTML - as long as you understand that everything enclosed in the tag is pre-formatted (there was a hint the name :-)) It will be rendered exactly as is.
Here's a couple of links that explain it more thoroughly
Everything You Need to Know About HTML's 'pre' Element — SitePoint[^]
Considerations for styling the < pre > tag - The Media Temple Blog[^]
没有任何理由。如您所见,此页面为HTML并包含< pre>标签周围的部分消息。
No reason whatsoever. As you can see this page is HTML and contains <pre> tags around part of your message.
Hello Op,
如解决方案中所述,您可以自由使用标签它在Java API中不会过时。
更多信息可以在这里找到:
HTML预标签 [ ^ ]
Hello Op,
As stated within the solutions you are free to use the tag since it is not outdated in Java API.
More information can be found here:
HTML pre tag[^]
这篇关于Hi.i想知道为什么不能使用& lt;预&安培; GT; HTML中的标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文