Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 网站建设 > 网页制作 > XHTML: Differences between Strict
【标  题】:XHTML: Differences between Strict
【关键字】:XHTML,Differences,between,Strict
【来  源】:http://www.cublog.cn/u/23783/showart.php?id=235085

XHTML: Differences between Strict

Your Ad Here

[Web] XHTML: Differences between Strict & Transitional

XHTML: Differences between Strict & Transitional

Colour coding

  • An XHTML1.0 element
  • An XHTML1.0 loose element (removed in Strict)
  • An XHTML1.0 attribute
  • A warning or notice

Elements removed in XHTML Strict

  • dir
  • menu
  • center
  • isindex
  • applet
  • font
  • basefont
  • s
  • strike
  • u
  • iframe
  • noframes

Elements changed in XHTML Strict

head
Element isindex removed in Strict
base
Attribute href changed from implied to required in Strict
Attribute target removed in Strict
link
Attribute target removed in Strict
script
Attribute language removed in Strict
noscript
Elements center, noframes, isindex, menu, dir, a, br, span, bdo, object, applet, img, map, iframe, sub, sup, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, big, small, font, basefont, tt, i, b, u, s, strike, input, select, textarea, label, button not allowed in Strict
body
Attributes bgcolor, text, link, vlink, alink removed in Strict
Elements center, noframes, isindex, menu, dir, a, br, span, bdo, object, applet, img, map, iframe, sub, sup, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, big, small, font, basefont, tt, i, b, u, s, strike, input, select, textarea, label, button not allowed in Strict
div
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attribute align removed in Strict
p
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attribute align removed in Strict
h#
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attribute align removed in Strict
ul
Attributes type, compact removed in Strict
ol
Attributes type, compact, start removed in Strict
li
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attributes type, value removed in Strict
dl
Attribute compact removed in Strict
dt
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
dd
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
address
Element p removed in Strict
hr
Attributes align, noshade, size, width removed in Strict
pre
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Elements sup, sub added in Strict.

Error in the DTD? According to a comment in the DTD, pre does not allow sub and sup. However, according to the syntax rules for it, it does allow them. It did NOT allow them in Transitional.

Attribute width removed in Strict
blockquote
Elements center, noframes, isindex, menu, dir, a, br, span, bdo, object, applet, img, map, iframe, sub, sup, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, big, small, font, basefont, tt, i, b, u, s, strike, input, select, textarea, label, button not allowed in Strict
ins
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
del
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
a
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attribute target removed in Strict

Although the syntax rules prevents the DTD to tell the validator so, a elements may not nest.

span
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
bdo
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
br
Attribute clear removed in Strict
em
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
strong
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
dfn
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
code
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
samp
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
kbd
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
var
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
cite
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
abbr
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
acronym
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
q
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
sub
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
sup
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
tt
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
i
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
b
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
big
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
small
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
object
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attributes align, border, hspace, vspace removed in Strict
param
Attribute name changed from required to implied in Strict.
img
Attributes name, align, border, hspace, vspace removed in Strict
map
Elements center, noframes, isindex, menu, dir not allowed in Strict
Attribute name removed in Strict
area
Attribute target removed in Strict
form
Elements a, br, span, bdo, object, applet, img, map, iframe, sub, sup, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, big, small, font, basefont, tt, i, b, u, s, strike, input, select, textarea, label, button not allowed in Strict
Attributes name, target removed in Strict

Although the syntax rules prevents the DTD to tell the validator so, form elements may not nest.

label
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
input
Attribute align removed in Strict

Although the syntax rules prevents the DTD to tell the validator so, the name attribute is required for all input elements except those of the type submit or reset.

fieldset
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict

Although the syntax rules prevents the DTD to tell the validator so, only one legend element should be placed within the fieldset and that element should only be preceeded by whitespace.

legend
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
button
Elements center, noframes, isindex, menu, dir, iframe, font, basefont, u, s, strike not allowed in Strict

Although the syntax rules prevents the DTD to tell the validator so, the button element may not contain a, form, input, button, textarea, select

table
Attributes bgcolor, align removed in Strict
caption
Elements applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attribute align removed in Strict
tr
Attribute bgcolor removed in Strict
th
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attribute nowrap, bgcolor, width ,height removed in Strict
td
Elements center, noframes, isindex, menu, dir, applet, iframe, big, small, font, basefont, u, s, strike not allowed in Strict
Attribute nowrap, bgcolor, width ,height removed in Strict
网络真要命:【上一篇】
JavaScript 外处理Try{}catch(e){}:【下一篇】
【相关文章】
  • 使用ASP.NET开发遵循HTML/XHTML+CSS规范的的Web应用
  • Difference between Environment.Exit and Application.Exit of c#
  • 刚开始用VS2005的XHTML问题
  • IPSec Site-to-Site between routers over PIX
  • 疑难杂症:在ASP.NET AJAX中别使用<xhtmlConformance mode="Legacy"/>
  • Web 的未来:XHTML 2.0
  • XHTML1.0学习总结
  • transient,volatile and strictfp
  • 页面布局 "HTML 4.0 Transitional” VS "XHTML 1.0 Transitional" 新的不一定就好用!
  • discusses the subtle differences between terms like “orientation,”
  • 【随机文章】
  • CMS帮助指南开张了
  • 工作就是有事情就做,没有事情找事情做!
  • 我的华为认证培训经历和意见
  • Windows Mobile机器人和SPOT
  • nfs 困扰
  • 爆破CHMUnpacker!!(1)
  • 关于声音的常用命令介绍
  • 关于实现PRT
  • .Net 标准控件与自定义控件
  • 我的生活我的JAVA
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.