<form> <input /> <input /> <footer> <input /> </footer></form>
我看到它的方式,它符合规范:
the footer element represents a footer for the section it applIEs to
思考?
解决方法 根据 http://dev.w3.org/html5/markup/footer.htmlThe footer element represents the footer for the section it applIEs
to.Permitted contents
Flow content
根据http://dev.w3.org/html5/markup/terminology.html#flow-content
flow content
Flow content consists of flow elements intermixed with
normal character data
根据http://dev.w3.org/html5/markup/common-models.html#common.elem.flow
7.1. Flow elements
phrasing elements or a or p or hr or pre or ul or ol or dl or div or h1 or h2 or h3 or h4 or h5 or h6 or hgroup or
address or blockquote or ins or del or object or map or noscript or
section or nav or article or asIDe or header or footer or vIDeo or
audio or figure or table or form or fIEldset or menu or canvas or
details7.3. Phrasing elements
a or em or strong or small or mark or abbr or dfn or i or b or s or u or code or var or samp or kbd or sup or sub or
q or cite or span or bdo or bdi or br or wbr or ins or del or img or
embed or object or @R_301_5562@ or map or area or script or noscript or ruby
or vIDeo or audio or input or textarea or select or button or label or
output or dataList or keygen or progress or command or canvas or time
or meter
输入是一个措辞元素,所以是的,你可以.
有许多在线参考文献
Footers usually/should contain information about it’s containing
element.A footer typically contains the author of the document,copyright
information,links to terms of use,contact information,etc.
但规格不止于此.
总结以上是内存溢出为你收集整理的HTML – 在语义上使用是否正常?全部内容,希望文章能够帮你解决HTML – 在语义上使用是否正常?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)