Strict DTD vs Transitional DTD
|
Introduction
There are currently a large number of pages which are are marked as Transitional rather than Strict HTML 4.01. The single biggest reason for this is to allow use of the target tag. Target="_ blank" is used extensively to open a new browser window in many pages with e-mail and website links. This is not included in Strict HTML 4.01 as the general opinion was that the user should decide whenever a new browser window is opened.
So the question is do we adhere to Strict HTML 4.01 and not open any new browser windows or allow pages to open new windows and mark these at Transitional HTML 4.01? We could also use javascript to open a new windows but that is sort of a run around the intent of the standard. ref: http://wiki.pcgen.org/Strict_DTD_vs_Transitional_DTD
Elements that are not allowed in Strict DOCTYPEs (ref: http://24ways.org/2005/transitional-vs-strict-markup)
centerfontiframestrikeu
Attributes not allowed in Strict DOCTYPEs
align(allowed on elements related to tables:col,colgroup,tbody,td,tfoot,th,thead, andtr)languagebackgroundbgcolorborder(allowed ontable)height(allowed onimgandobject)hspacename(allowed in HTML 4.01 Strict, not allowed onformandimgin XHTML 1.0 Strict)noshadenowraptargettext,link,vlink, andalinkvspacewidth(allowed onimg,object,table,col, andcolgroup)
No comments:
Post a Comment