- From: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
- Date: Sat, 9 Aug 2014 08:45:33 -0600
- To: "Rob^_^" <iecustomizer@hotmail.com>
- Cc: List WebPlatform public <public-webplatform@w3.org>
Received on Saturday, 9 August 2014 14:46:01 UTC
On 8 August 2014 22:55, Rob^_^ <iecustomizer@hotmail.com> wrote: > eg> http://docs.webplatform.org/wiki/html/attributes/align > > ref: http://www.w3.org/TR/html4/index/attributes.html > > and http://www.w3.org/TR/html4/conform.html > > “This specification includes examples that illustrate how to avoid using > deprecated elements. In most cases these depend on user agent support for > style sheets. In general, authors should use style sheets to achieve > stylistic and formatting effects rather than HTML presentational > attributes. HTML presentational attributes have been deprecated when style > sheet alternatives exist “ > > In the wild, novice developers will get bamboozled by > <table align=”left” style=”margin:0 auto”> (which will render differently > in different userAgent versions, and DTD headers) > > for depreciated presentational attributes (align, cellspacing, > cellpadding, valign, halign, bkcolor, etc), should there be a big. > > “*Depreciated: Use CSS instead* “ > > warning? > > A Note: validator.w3.org will flag align=”left” as a warning if the dtd > is HTML 5, but flag it as an error if served with HTML4 strict. > > > Regards. >
Received on Saturday, 9 August 2014 14:46:01 UTC