Web Design SEO
Video Spokesperson Ecommerce

Things Each Web Designer Is Supposed To Know- Part 6.

April 28, 2009  

Tiffany Ogren – Raleigh, NC
123Triad: Web Design & SEO Company

Things Each Web Designer Is Supposed To Know- Part 6.

This article is a continuation of the ongoing series of articles on things each web designer is supposed to know. I do urge one to be patient as we evaluate them.

HTML 4.01 Frameset

<!DOCTYPE HTML PRIVATE “-//W3C//DTD HTML 4.01 Framset//EN” 
“http://www.w3.org/TR/html4/framset.dtd”>

If one is building a site with frames (which is not really recommended), one will use this DOCTYPE on his frameset page. However, one should stay away from frames if it is possible … and there is always a way to stay away from the frames.

XHTML

Just like HTML 4.01, XHTML 1.0 also does has Strict, Transitional, as well as Frameset DOCTYPEs. XHTML of all types must be really well-formed, which means all of ones quotes must be just in the right places, ones tags must be closed in the proper order, and tags which don’t usually require a closing tag (such as and
) are now written as “self-closing.” A self-closing tag does include a forward slash at the end of this tag to indicate that it is closed. For example, in HTML, the
tag is enough and there is no need to close it. In XHTML, one will make the tag self-closing just by typing it as
.

The XHTML 1.0 Transitional DOCTYPE does serve the same purpose for XHTML as the HTML 4.01 Transitional DOCTYPE does serve for HTML. That is, for Web pages which are using older markup, one will want to use the Transitional DOCTYPE, but build the new sites with the Strict DOCTYPE. Again, the Strict DOCTYPE is more restrictive, but does separate the page coding from the design, thus making ones page much easier to maintain as well as more cross-browser compatible. Below one will find all the XHTML 1.0 DOCTYPEs.

XHTML 1.0 Strict

<!DOCTYPE html PRIVATE “-//W3C//DTD XHTML 1.0 Strct//EN” 
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strct.dtd”>

XHTML 1.0 Transitional

<!DOCTYPE html PRIVATE “-//W3C//DTD XHTML 1.0 Transitional//EN” 
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

XHTML 1.0 Frameset

<!DOCTYPE html PRIVATE “-//W3C//DTD XHTML 1.0 Framset//EN” 
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-framset.dtd”>

XHTML 1.1 DTD

XHTML 1.1 is a more restrictive and technical version of the XHTML 1.0 Strict. XHTML 1.1 is usually Module-based XHTML, that allows developers to create documents which can be extended to allow other XML-based applications so as to use small bits of XHTML in a well-defined manner. XHTML 1.1 does remove practically all presentation-based markup (such as the center tag and frameset option, among others) and does make CSS the sole method of presentation for the particular page.

<!DOCTYPE html PRIVATE “-//W3C//DTD XHTML 1.1//EN” 
“http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>

Most Websites do not use XHTML 1.1.

Future of DOCTYPEs

In the future, as far as the page rendering is concerned, DOCTYPEs are most likely to take a back seat of something on the horizon which is called “version targeting.” Internet Explorer 8 will be the very first browser to implement it. Using version targeting through a tag, one will be able to lock a web browser into displaying any page as if it were rendering in a specific version of that particular browser.

Please look at the conclusion of this topic in the next article for a continuation of the discussion on this topic of future DOCTYPEs.

123Triad webdesign offers affordable custom website design. Our full service website design company only hires certified website designers. Please contact us today on 1-800-720-0816 for your next web site design project.

Related posts:

  1. Things Each Web Designer Is Supposed To Know- Part 5. Tiffany Ogren – Raleigh, NC...
  2. Things Each Web Designer Is Supposed To Know- Part 2. Tiffany Ogren – Raleigh, NC...
  3. Things Each Web Designer Is Supposed To Know- Part 3 Tiffany Ogren – Raleigh, NC...
  4. Things Each Web Designer Is Supposed To Know- Conclusion. Tiffany Ogren – Raleigh, NC...
  5. Things Each Web Designer Is Supposed To Know- An Introduction Tiffany Ogren – Raleigh, NC...
  6. Things Each Web Designer Is Supposed To Know- Part 4. Tiffany Ogren – Raleigh, NC...
  7. Understanding the Extensible Hypertext Markup Language Tiffany Ogren – Raleigh, NC...
  8. The XHTML Difference Adam Anderson    – Phoenix, AZ...
  9. The Future of DOCTYPE in Web Design Adam Anderson    – Phoenix, AZ...
  10. Presentational Role of HTML in Web Design Drake Moore 123Triad: Web Design...

Servicing Nationwide

Call 1-800-720-0816 For your Free Custom Quote