本文介绍了< text>之间的区别和< span>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
它们之间有什么区别?< text>
甚至是正确的HTML标签吗?我从未在 http://www.w3schools.com/等网站上看到它的描述,但是它似乎工作正常( http://jsfiddle.net/qgaA2/),但我没有看到任何它和< span>
What the difference between them? Is the <text>
even proper HTML tag? I've never seen the description of it on sites like http://www.w3schools.com/ but it seems to be working fine ( http://jsfiddle.net/qgaA2/ ) and I don't see any difference between it and <span>
推荐答案
否,它不是真正的标记.浏览器只查看属性并充分利用它们.
No, it's not a real tag. The browser just looks at the attributes and makes the best of it.
这也将起作用:< stupidtag style ="color:red"> moo</stupidtag>
这篇关于< text>之间的区别和< span>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!