之间的区别我注意到两种语法都可以接受。比另一个更老吗?有什么不同(历史或不是)?<textview></textview>与<textview />
-3
A
回答
0
1
这基本上是一个自闭标签,并没有区别。有关详细信息,请参阅:[是什么?
相关问题
- 1. <TextView /> OR <TextView></TextView>
- 2. <body>与<g:layoutBody>
- 3. <xsl:sort>与<option>
- 4. <Flags>与<FlagsAttribute()>
- 5. <text>与<span>
- 6. <button>与<fieldset>
- 7. 使用>>,>,> |,||,| <,<,<<,<<
- 8. 浮动元素<br /><br /><br /><br /><br /\><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
- 9. <iostream>与<iostream.h>与“iostream.h”
- 10. 如</p> <p><code><p>This is text </p></code>或<code><div></code>或<code>This is text</code></p> <p>使用<code>XmlPullParser</code>检索URL
- 11. <%# %> VS <%= %>
- 12. jQuery - target.href与<a href="#"><img></a>
- 13. <script/> vs <script></script>与webpack和角
- 14. <script></script> or <script />?
- 15. <asp:XXXX > vs <%# %>/<%@ %>
- 16. <ContentControl><ContentPresenter /></ ContentControl>?
- 17. 的Grails:前</p> <pre><code><g:if test="${foo.bar}"> </code></pre> <p>和</p> <pre><code><g:if test="\${foo.bar}"> </code></pre> <p>使用 “\” 的真正为例:\ $ {}和$ {}
- 18. 的MySQL/PHP:<code>id</code>,<code>name</code>,<code>category</code>和一个<code>ratings</code>表列:<code>id</code>,<code>item</code>,<code>rating</code>如何使用JOIN语句
- 19. HTML <form>与多个<a>
- 20. XSS与<script>随后<br/>
- 21. <%! %>与<% %>之间的区别
- 22. “#include <QtCore/QCoreApplication>”与“#include <QCoreApplication>”
- 23. 与<vector>和<fstream>
- 24. 所有<br>与<br />
- 25. asp.net mvc标签:<%: %>与<%= %>
- 26. ObservableCollection <>与列表<>
- 27. ArrayAdapter <HashMap<,,>>与commonsguy EndlessAdapter类
- 28. 更换<br>与<br />
- 29. Rails的ERB <%- ... -%>与<% ... %>
- 30. <button>与<INPUT TYPE =“图像”>
的可能的复制(https://stackoverflow.com/questions/10726164/whats-the-difference-between-tag-tag-和-tag-in-html) –
[XHTML中的所有有效自闭元素(由主要浏览器实现)的可能重复?](https://stackoverflow.com/questions/97522/what-are -all最有效自闭合元件功能于XHTML-作为实现由这-MAJ) –