tidy-html5/regression_testing/cases/legacy-cases/case-533233@0.html

24 lines
756 B
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test for bug #533233</title>
<script type="text/javascript">
function offsite()
{
document.write("<img src='images/world.gif' alt='[Off Site]' width='17' height='15' border='0'>");
}
</script>
<script type="text/javascript" src="script1.js"></script>
</head>
<body>
<h1>Script sample 1</h1>
<p class="big">Headline project&#8212;Link to <a href="http://offsite.com/"><script type="text/javascript">offsite();</script>offsite page</a>.</p>
<h1>Input 1</h1>
<p>text<script type="text/javascript">f(0);</script>text</p>
</body>
</html>