Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>The hidden attribute</title>
<link rel=match href=hidden-1-ref.html>
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
<p hidden>This line should be visible.
<p>This line should not be visible.
<script>
document.getElementsByTagName("p")[0].hidden = false;
document.getElementsByTagName("p")[1].hidden = true;
</script>