<div class="codetitle"> <span><a style="CURSOR: pointer" data="93311" class="copybut" id="copybut93311" onclick="doCopy('code93311')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code93311"> <br> <br> <br> <br><p id="p1">这是一段文本。</p> <br><input type="button" value="隐藏文本" onclick="document.getElementById('p1').style.visibility='hidden'"> <br><input type="button" value="显示文本" onclick="document.getElementById('p1').style.visibility='visible'"> <br> <br> <br> </div>