W3C home > Mailing lists > Public > public-webplatform@w3.org > August 2014

Re: Depreciated Presentation Attributes.

From: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
Date: Sat, 9 Aug 2014 08:45:33 -0600
Message-ID: <CAFDDJ7yrvk+R3LT45L8CwFcwWLTuhqGdB5CQ3SES9k4C3k6otw@mail.gmail.com>
To: "Rob^_^" <iecustomizer@hotmail.com>
Cc: List WebPlatform public <public-webplatform@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:03 UTC