the code above is not the same code as in the zip archive.
the problem with the code above is that:
a) lines 1 - 30 should not be at the top.
b) at the end of that code, there should be the standard html code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
c) the code at line 1 - 30 should come after the body tag.