-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML5不再支持哪些HTML元素? #169
Comments
来自网络: 1、超链接中的name,用id替代 2、applet(建议object):定义applet 3、acronym(建议abbr):定义首字母缩写 4、basefont 5、big:定义大号文本 6、center:定义文本居中 7、font 8、strike(使用del):定义加删除线的文本 9、tt:定义打字机文本 10、u:定义下划线文本 11、frame(建议iframe):定义子窗口(框架) 12、frameset:定义框架的集 13、dir:定义目录列表(使用ul替代) 14、废除<xmp>,使用
|
一,新增元素 内容元素:article、header,footer,section,nav,aside big font basefont,s,tt,u,frame.iframe 三,如何处理兼容性问题 1)IE6/IE7/IE8支持通过document.createElement方法产生的标签,利用这一特性让这些浏览器支持HTML5新标签。浏览器支持新标签后,还需要添加标签默认的样式; 四,如何区别HTML和HTML5 1)在文档类型声明上不同: HTML5:在语义上却有很大的优势。提供了一些新的标签,比如: |
html5shim 是不是打错了 只搜到了 html5shiv |
HTML5不再支持哪些HTML元素?
The text was updated successfully, but these errors were encountered: