Using the new environment from the previous weeks, research what kinds of technologies may have been used to construct it.
-
Is the content dynamic? Or is it static?
-
Does it use simply XHTML, or does it also use another technology like Adobe Flash, for instance.
The content is static. It is written using XHTML 1.0 Transitional standard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
XHTML 1.0 was the W3C’s first Recommendation for XHTML. XHTML 1.0 is specified in three “flavours”;
- XHTML 1.0 Strict – Use this when you want really clean structural mark-up, free of any markup associated with layout. Use this together with W3C’s Cascading Style Sheet language (CSS) to get the font, color, and layout effects you want.
- XHTML 1.0 Transitional – Many people writing Web pages for the general public to access might want to use this flavor of XHTML 1.0. The idea is to take advantage of XHTML features including style sheets but nonetheless to make small adjustments to your markup for the benefit of those viewing your pages with older browsers which can’t understand style sheets. These include using the body element with bgcolor, text and link attributes.
- XHTML 1.0 Frameset – Use this when you want to use Frames to partition the browser window into two or more frames.
And for such a basic looking site, the Web site uses quite an elaborately detailed externally referenced CSS file for styles.
There is some very basic JavaScript references on the page. If has a “browser sniffer” which just changes the CSS reference depending on what browser version. And there is a piece of script within the XHTML that show/hides a login.
Looking closely at the XHTML code there is an entire ‘header’ <div> that does not appear on the page. It contains the above login, a search feature, a breadcrumb, a text menu and some title copy. Why it’s developed so it doesn’t appear is beyond me.
Filed under: Learning Activities, CSS, JavaScript, XHTML


Recent Comments