When you first begin learning XHTML it feels a little overwhelming. If you happen to look at bad examples, such as Microsoftâ€™s website, that feeling can get even worse. You typically see tables everywhere, font tags, inline styles, and hundreds of lines of this stuff. But it doesnâ€™t have to be that way. HTML really [...]
You are currently browsing the XHTML help, using XHTML and CSS weblog archives for March, 2007.
Due to the nature of the Internet, people may be viewing your web page with many different types of browsers such as a text-only browser, a voice browser, or a cell phone; they may be clicking through your site without a mouse, or keyboard, or they may be browsing hands-free. Some people may be accessing [...]
Several years ago a major push was made to begin separating the presentational aspects of a website from the structural aspects of it through the use of Cascading Style Sheets (CSS). By working towards this separation a website designer can make her job easier in many ways.
A clear sign of an amateur web designer is their use of the font tag. This tag was deprecated in HTML 4.01 which means it should no longer be used. Not only does it clutter up your documents, but it makes the look and feel of your website more difficult to change.
When creating an XHTML document you will need to specify the character encoding Internet Media Type, or Content-Type of the document. The W3C recommends that XHTML documents be sent as type text/html or application/xhtml+xml. This should be set by the webserver. If you cannot change the web server settings however, you can also specify this [...]