Archive of ‘What is…..‘

 
 

What is XHTML?

XHTML stands for eXtensible Hypertext Markup Language which is the successor to HTML and is the language used for all terucada sites. Specifically, they are coded using xhtml 1.0 strict and valid css 2.1, although once internet explorer catches up with (or indeed joins) the rest of the real world, we will be moving to 1.1 / css3.

xhtml and css separate page content from page layout, with the xhtml being the content, and the css being the style (hence cascading style sheets), enabling different layouts for print, screen and mobile devices to be specified outside of individual pages. it also enables wide ranging cross-site changes with great ease.

What is CSS

CSS stands for Cascading Style Sheet, a means of specifying the layout of an web page. There are two ways of using style sheets – either within the HTML code itself which rather defeats the object, or as a separate file which is normally named “style.css” and linked to in the HTML header.

The style.css file contains details of fonts, tables, borders, outlines, layout information and so on which apply across the pages to which it is applied. For example:

body {

color:red;

background-color:blue;

}

would make the text red, and the background blue. Simply changing the parameters in the one file will make changes across the entire site.

As always, there is a but. Some browsers have “different” ways of interpreting – or ignoring- CSS, a prime example being the box-model issue with Internet Explorer, which poses some challenges for web design. See our article on browser compatabilty in this section for more detail.