Source code

Revision control

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].removeAttribute("hidden");
document.getElementsByTagName("p")[1].setAttribute("hidden", "");
</script>