CSS for Deprecated HTML Attributes: Part 3

In this series of articles I have described how to remove the deprecated attributes in HTML and replicate the styles using CSS. The first part looked at hspace and vspace, type and border. Part two described how to replicate link, alink and vlink, size, noshade and clear. In this final part I will be mopping up width, height, bgcolor and align.

Continue reading CSS for Deprecated HTML Attributes: Part 3

March 8, 2007

Read 8 comments about CSS for Deprecated HTML Attributes: Part 3


CSS for Deprecated HTML Attributes: Part 2

In Part 1 of CSS for Deprecated HTML Attributes, I described how to replace HTML’s deprecated attributes with CSS, which is more flexible and inline with web standards in use today. If you want to convert an existing site that is using out of date practices or want to understand how to bring your own development up to scratch, then these articles are for you.

Let’s get straight into it with link, alink and vlink. I’ll also cover clear, size and noshade.

Continue reading CSS for Deprecated HTML Attributes: Part 2

February 10, 2007

Read 7 comments about CSS for Deprecated HTML Attributes: Part 2


CSS for Deprecated HTML Attributes: Part 1

When HTML 4.0 was introduced some attributes became deprecated. Browsers continued to support them to ensure older sites continued to display correctly, and developers were urged to stop using them in favour of more flexible alternatives such as CSS.

The deprecated attributes were purely presentational, meaning they are only of benefit for the way the element will look. We remove presentational aspects to a CSS file to separate content and structure from the look of a web page. This has many benefits for the user, developer and holder of the bandwidth purse-strings.

Continue reading CSS for Deprecated HTML Attributes: Part 1

February 2, 2007

Read 10 comments about CSS for Deprecated HTML Attributes: Part 1


Valid XHTML  Valid CSS  Subscribe Powered by WordPress 2.0.2