| 1 |
#data html |
| 2 |
<!DOCTYPE HTML><title>From HTML5 spec</title> |
| 3 |
<nav> |
| 4 |
<ul> |
| 5 |
<li> <a href="/">Home</a> </li> |
| 6 |
<li> <a href="/news">News</a> </li> |
| 7 |
<li> <a>Examples</a> </li> |
| 8 |
<li> <a href="/legal">Legal</a> </li> |
| 9 |
</ul> |
| 10 |
</nav> |
| 11 |
#errors |
| 12 |
|
| 13 |
#data html |
| 14 |
<!DOCTYPE HTML><title>From HTML5 spec</title> |
| 15 |
<aside class="advertising"> |
| 16 |
<h1>Advertising</h1> |
| 17 |
<a href="http://ad.example.com/?adid=1929&pubid=1422"> |
| 18 |
<section> |
| 19 |
<h1>Mellblomatic 9000!</h1> |
| 20 |
<p>Turn all your widgets into mellbloms!</p> |
| 21 |
<p>Only $9.99 plus shipping and handling.</p> |
| 22 |
</section> |
| 23 |
</a> |
| 24 |
<a href="http://ad.example.com/?adid=375&pubid=1422"> |
| 25 |
<section> |
| 26 |
<h1>The Mellblom Browser</h1> |
| 27 |
<p>Web browsing at the speed of light.</p> |
| 28 |
<p>No other browser goes faster!</p> |
| 29 |
</section> |
| 30 |
</a> |
| 31 |
</aside> |
| 32 |
#errors |
| 33 |
|
| 34 |
#data html |
| 35 |
<!DOCTYPE HTML><title>From HTML5 spec</title> |
| 36 |
<p>Account: <input type="text" name="ac" autocomplete="off"></p> |
| 37 |
<p>PIN: <input type="text" name="pin" autocomplete="off"></p> |
| 38 |
#errors |
| 39 |
|
| 40 |
#data html |
| 41 |
<!DOCTYPE HTML><title>From HTML5 spec</title> |
| 42 |
<menu> |
| 43 |
<li><a href="settings.html" onclick="panels.show('settings')">Settings</a> |
| 44 |
<li><bb type="makeapp">Download standalone application</bb> |
| 45 |
<li><a href="help.html" onclick="panels.show('help')">Help</a> |
| 46 |
<li><a href="logout.html" onclick="panels.show('logout')">Sign out</a> |
| 47 |
</menu> |
| 48 |
#errors |
| 49 |
/html/body/menu/li/a/@onclick;event handler;u |
| 50 |
/html/body/menu/li/a/@onclick;event handler;u |
| 51 |
/html/body/menu/li/a/@onclick;event handler;u |
| 52 |
/html/body/menu/li/bb;element not defined;m |
| 53 |
/html/body/menu/li/bb/@type;attribute not defined;m |
| 54 |
|
| 55 |
#data html |
| 56 |
<!DOCTYPE HTML><title>From HTML5 spec</title> |
| 57 |
<menu> |
| 58 |
<a href="settings.html" onclick="panels.show('settings')">Settings</a> | |
| 59 |
<bb type="makeapp" id="makeapp"> </bb> |
| 60 |
<a href="help.html" onclick="panels.show('help')">Help</a> | |
| 61 |
<a href="logout.html" onclick="panels.show('logout')">Sign out</a> |
| 62 |
</menu> |
| 63 |
<script> |
| 64 |
var bb = document.getElementById('makeapp'); |
| 65 |
if (bb.supported && bb.enabled) { |
| 66 |
bb.parentNode.nextSibling.textContent = ' | '; |
| 67 |
bb.textContent = 'Download standalone application'; |
| 68 |
} else { |
| 69 |
bb.parentNode.removeChild(bb); |
| 70 |
} |
| 71 |
</script> |
| 72 |
#errors |
| 73 |
/html/body/menu/bb;no significant content;s |
| 74 |
/html/body/menu/a/@onclick;event handler;u |
| 75 |
/html/body/menu/a/@onclick;event handler;u |
| 76 |
/html/body/menu/a/@onclick;event handler;u |
| 77 |
/html/body/menu/bb;element not defined;m |
| 78 |
/html/body/menu/bb/@type;attribute not defined;m |
| 79 |
/html/body/script;SUBDOC |
| 80 |
|
| 81 |
#data html |
| 82 |
<!DOCTYPE HTML><title>From HTML5 spec</title> |
| 83 |
<h1>The Example Game</h1> |
| 84 |
<section id="login"> |
| 85 |
<h2>Login</h2> |
| 86 |
<form> |
| 87 |
... |
| 88 |
<!-- calls login() once the user's credentials have been checked --> |
| 89 |
</form> |
| 90 |
<script> |
| 91 |
function login() { |
| 92 |
// switch screens |
| 93 |
document.getElementById('login').hidden = true; |
| 94 |
document.getElementById('game').hidden = false; |
| 95 |
} |
| 96 |
</script> |
| 97 |
</section> |
| 98 |
<section id="game" hidden> |
| 99 |
... |
| 100 |
</section> |
| 101 |
#errors |
| 102 |
/html/body/section/script;SUBDOC |
| 103 |
|
| 104 |
#data html |
| 105 |
<!DOCTYPE HTML><title>From HTML5 spec</title> |
| 106 |
<label><input type=checkbox name=lost> Lost</label> |
| 107 |
#errors |