Internet and New Media

(706.003 1VU Internet und neue Medien WS 2014/2015)

Exercise 4: Build a Web Site (Polyglot XHTML5)

In this exercise you will build a small web site in Polyglot XHTML5 and CSS 3.

Please read these instructions carefully!

Please also read the corresponding chapter(s) in the current lecture notes (the PDF file) before you start.

4.1 Find Your TU Graz Web Site (Home Page)

4.2 Create a Local Working Subdirectory

4.3 Create Three Simple Web Pages in XHTML5

4.4 Use the Following At Least Once

Each of the following must be used appropriately at least once, somewhere in any one of your three XHTML5 files:

Bear in Mind

4.5 Upload to Your TU Graz Web Site

4.6 Validate your Polyglot XHTML5 Pages

Make sure all three of your Polyglot XHTML5 pages pass both the W3C Nu Validator and Total Validator:

  1. W3C Nu Markup Checker is an online validator service:

    You can see an example screenshot.

  2. Total Validator works both as a local standalone program and as a Firefox extension:

    You can see an example screenshot.

When you validate an XHTML5 file, a single mistake (say forgetting to use a closing </p> tag) can result in a cascade of error messages. Attend to them from the top; often several error messages will disappear with one bugfix.

4.7 Create a Simple Style Sheet (CSS3)

4.8 Validate Your Style Sheet

Make sure your style sheet inm.css passes the W3C CSS Validator for CSS3:

4.9 Testing Your Pages

I suggest you test your pages using recent versions of both the Firefox and Chrome browsers. IE8 and below do not support XHTML5. IE9 supports XHTML5, but not particularly well.

XHTML5 and CSS3 are quite recent. No browser (or validator) is perfect. Some browsers support more of XHTML5 and CSS3 than other browsers. So, expect to encounter occasional bugs.

The tutors and I will generally be using Firefox 33 or above to view your web pages.

4.10 The Perfect INM Web Site...

Your INM web site should now consist of the following files:

$HP/inm/index.xhtml
$HP/inm/posting.xhtml
$HP/inm/person.xhtml
$HP/inm/inm.css

plus the image(s) you have used, where $HP indicates the address of your TU Graz web site.

Only the files which are actually used in your web pages should be left in your inm subdirectory. Do not leave any other files (backups, earlier versions, previous formats, junk) lying around.

These files (your INM web site) must remain the same and unchanged until the end of semester (31 Jan 2015).