blob: ab41580e998fbec101be3f6f99dac84bea04ddc1 [file] [log] [blame]
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "http://www.wapforum.org/DTD/xhtml-mobile11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> Test noscript in mulitple script elements </title>
</head>
<body>
<h1> Test noscript in mulitple script elements </h1>
<a href="javascript:testFun()"> clike me, javascript code won't be executed since type of &lt;script&gt; is wrong</a>
<p>
<noscript>
<h1>&lt;h1&gt;first noscript element&lt;h1&gt;</h1>
plain text in noscript
</noscript>
<script type="text/wrongtype">
function testFun() {
alert("the first script");
}
</script>
<noscript>
<h2> &lt;h2&gt;second noscript element&lt;h2&gt;</h2>
</noscript>
<script type="text/javascript">
function testFun2() {
alert("the second script");
}
</script>
</p>
<a href="javascript:testFun2()"> clike me to execute javascript code</a>
</body>
</html>