Actually, there would be no difference if you use <html> instead of plain <html:html>.
However, if you use some attributes of <html:html> tag, I think the difference will
come out. Suppose you have a usage like <html:html xhtml="true">. With this tag all
other html taglib tags render themselves as XHTML tags.
发布评论
评论(1)
实际上,如果使用
而不是普通的
,则没有什么区别。但是,如果您使用
标记的某些属性,我认为差异会出来。假设您有类似
的用法。有了这个标签所有其他 html taglib 标签将自身呈现为 XHTML 标签。
Actually, there would be no difference if you use
<html>
instead of plain<html:html>
.However, if you use some attributes of
<html:html>
tag, I think the difference willcome out. Suppose you have a usage like
<html:html xhtml="true">
. With this tag allother html taglib tags render themselves as XHTML tags.