Removal of the presentation attributes is a big feature of Strict DOCTYPEs. If you really must use inline styles for things like images, you can always use the "style" attribute.
This link has been bookmarked by 16 people . It was first bookmarked on 11 Feb 2008, by Perry Branch.
-
01 Feb 12
-
22 Oct 11
-
10 May 11
-
28 Oct 09
-
08 Apr 09
Charles GnilkaWe get a lot of e-mail from people asking for ways to be a better Web designer. There is no simple way to answer a question like that, but the majority of the time we find that a designer has been exposed to HTML and Web design in such a way that he or sh
-
29 Jul 08
-
30 Apr 08
-
17 Apr 08
-
11 Apr 08
-
11 Feb 08
-
HTML 4.01 Strict
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> -
The Strict DOCTYPE is for pages that are written the way HTML 4.01 was constructed to be written
-
Add Sticky NoteCertain attributes (like "align," "bgcolor," "link," "alink," and "vlink," just to name a few) aren't allowed in a Strict DOCTYPE. The benefit to using a Strict DOCTYPE is that more browsers will be able to render your page in a way that is satisfying to you, rather than having to work around a browser's shortcomings. This is because a Strict DOCTYPE emphasizes structure over presentation; it tries to completely separate the HTML code (the page) from the CSS (the design and presentation). Built in this manner, your page will be highly compatible with a large number of the most popular browsers.
-
-
Again, the Strict DOCTYPE is much more restrictive, but separates the page coding from the design, making your page much easier to maintain and more cross-browser compatible.
-
-
07 Feb 08
Public Stiky Notes
Page Comments
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.