| <?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 <script> is wrong</a> |
| <p> |
| <noscript> |
| <h1><h1>first noscript element<h1></h1> |
| plain text in noscript |
| </noscript> |
| |
| <script type="text/wrongtype"> |
| function testFun() { |
| alert("the first script"); |
| } |
| </script> |
| |
| <noscript> |
| <h2> <h2>second noscript element<h2></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> |