| View previous topic :: View next topic |
| Author |
Message |
Tomi 500+ Club

Joined: 26 Jun 2006 Posts: 810
|
Posted: Tue Mar 11, 2008 8:59 pm Post subject: Whats up with this :p |
|
|
| Code: |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd"> -->
<!-- <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 1 September 2005), see www.w3.org" />
<title>Qwiz</title>
<style type="text/css">
/*<![CDATA[*/
.header { background: #FFFFCC; color: blue; border-bottom: solid 1px green; margin: 0 0 5px 0; padding: 2px; }
.footer { background: #FFFFCC; color: green; border-top: solid 1px green; margin: 10px 0 0 0; }
.company { font-weight: bold; }
hr { clear: both; border:solid; border-width:1px; border-bottom-color:#007300; border-top-color:#ffffff; border-left-color:#ffffff; border-right-color:#ffffff;}
.top-news img { float: left; margin-right: 5px; }
.top-news h3, .news h3 { font-size: large; font-weight: bold; }
.accesskey { text-decoration: underline; }
a { text-decoration: none; }
.validation { margin-top: 10px; }
.product img { float: left; margin-right: 5px; }
.product h3, .news h3 { font-size: large; font-weight: bold; }
.style1 {color: #99FF66}
.style2 {color: #CC9933}
.style3 {color: #FFFFCC}
.qheader{font:bold 14px Arial;}
.qselections{font:normal 13px Arial;
}
/*]]>*/
</style>
<script src="quizconfig.js" type="text/javascript">
</script>
<script type="text/javascript">
//<![CDATA[
var actualchoices=new Array()
document.cookie="ready=yes"
//]]>
</script>
<style type="text/css">
/*<![CDATA[*/
div.c1 {text-align: center}
/*]]>*/
</style>
</head>
<body>
<div class="header"><img src="logo176.gif" width="112" height="50" alt="Company Logo" /><br />
<small>Home Page</small></div>
<div class="content">
<div class="qheader">
<form method="post" name="myquiz" id="myquiz"></form>
</div>
<div class="qheader">1) What is the difference between a jungle and a rain forest?</div>
<div class="qselections"><input type="radio" value="a" name="question1" />a) No difference. Simply two different ways in referring to the same thing.<br />
<input type="radio" value="b" name="question1" />b) A jungle in general receives less rain than a rain forest.<br />
<input type="radio" value="c" name="question1" />c) A jungle refers to the thickest area of a rain forest<br />
<input type="radio" value="d" name="question1" />d) A jungle and a rain forest each contain their own group of distinct plants and animals.<br /></div>
<br />
<div class="qheader">2) What is the world's most common religion?</div>
<div class="qselections"><input type="radio" value="a" name="question2" />a) Christianity<br />
<input type="radio" value="b" name="question2" />b) Buddhism<br />
<input type="radio" value="c" name="question2" />c) Hinduism<br />
<input type="radio" value="d" name="question2" />d) Muslim<br /></div>
<br />
<div class="qheader">3) Which city ranks as the world's most populous city (2002)?</div>
<div class="qselections"><input type="radio" value="a" name="question3" />a) New York (US)<br />
<input type="radio" value="b" name="question3" />b) Mexico City (Mexico)<br />
<input type="radio" value="c" name="question3" />c) Tokyo (Japan)<br />
<input type="radio" value="d" name="question3" />d) Shanghai (China)<br /></div>
<br />
<div class="qheader">4) What is the second largest country (in size) in the world?</div>
<div class="qselections"><input type="radio" value="a" name="question4" />a) USA<br />
<input type="radio" value="b" name="question4" />b) China<br />
<input type="radio" value="c" name="question4" />c) Canada<br />
<input type="radio" value="d" name="question4" />d) Russia<br /></div>
<br />
<div class="qheader">5) As of January 2003, how much is Microsoft Chairman Bill Gates's net worth?</div>
<div class="qselections"><input type="radio" value="a" name="question5" />a) 10 million US<br />
<input type="radio" value="b" name="question5" />b) 10 billion US<br />
<input type="radio" value="c" name="question5" />c) 35 billion US<br />
<input type="radio" value="d" name="question5" />d) 50 billion US<br /></div>
<br />
<div class="qheader">6) Which country below is not one of the members of the UN security council (Jan 2003)?</div>
<div class="qselections"><input type="radio" value="a" name="question6" />a) USA<br />
<input type="radio" value="b" name="question6" />b) China<br />
<input type="radio" value="c" name="question6" />c) Germany<br />
<input type="radio" value="d" name="question6" />d) France<br /></div>
<br />
<div class="qheader">7) The longest river in the world is:</div>
<div class="qselections"><input type="radio" value="a" name="question7" />a) Amazon (Brazil)<br />
<input type="radio" value="b" name="question7" />b) Nile (Egypt)<br />
<input type="radio" value="c" name="question7" />c) Yangtze (China)<br />
<input type="radio" value="d" name="question7" />d) Congo (Zaire)<br /></div>
<br />
<div class="qheader">8) Which software firm is the second largest in the world, after Microsoft?</div>
<div class="qselections"><input type="radio" value="a" name="question8" />a) Netscape<br />
<input type="radio" value="b" name="question8" />b) Oracle<br />
<input type="radio" value="c" name="question8" />c) Lotus<br />
<input type="radio" value="d" name="question8" />d) Norton<br /></div>
<br />
<div class="qheader">9) What's the world's most widely spoken language?</div>
<div class="qselections"><input type="radio" value="a" name="question9" />a) English<br />
<input type="radio" value="b" name="question9" />b) Spanish<br />
<input type="radio" value="c" name="question9" />c) Mandarin<br />
<input type="radio" value="d" name="question9" />d) French<br /></div>
<br />
<div class="qheader">10) Which continent is host to the most countries in the world?</div>
<div class="qselections"><input type="radio" value="a" name="question10" />a) Asia<br />
<input type="radio" value="b" name="question10" />b) Africa<br />
<input type="radio" value="c" name="question10" />c) Europe<br /></div>
<form>
<div class="c1"><input type="button" value="Grade Me!" name="B1" onclick="gradeit()" /><input type="button" value="Reset" name="B2" onclick="document.myquiz.reset()" /></div>
</form>
<div class="footer"><small>� Qwiz Ltd. All rights reserved.<br /></small></div>
</div>
</body>
</html> |
Getting an error: "XML Parsing Error: xml declaration not at start of external entity
Location: file:///C:/Users/James/Desktop/176/index.xhtml
Line Number 1, Column 5: <?xml version="1.0" encoding="iso-8859-1"?>
----^" |
|
| Back to top |
|
 |
|
|
Johnathan 500+ Club

Joined: 31 May 2007 Posts: 996 Location: Belfast, Northen Ireland
|
Posted: Tue Mar 11, 2008 9:27 pm Post subject: Re: Whats up with this :p |
|
|
| Try replacing <?xml version="1.0" encoding="iso-8859-1"?> with <?xml version="1.0" encoding="UTF-8"?> |
|
| Back to top |
|
 |
Tomi 500+ Club

Joined: 26 Jun 2006 Posts: 810
|
Posted: Tue Mar 11, 2008 9:41 pm Post subject: Re: Whats up with this :p |
|
|
That gives me a new error:
XML Parsing Error: xml declaration not at start of external entity
Location: file:///C:/Users/James/Desktop/176/index.xhtml
Line Number 1, Column 5: <?xml version="1.0" encoding="UTF-8"?>
----^
thanks for trying however. |
|
| Back to top |
|
 |
|