加了br換行符怎么才能看出效果呢
<body>
? ? <p id="con">薩瓦迪卡,歡迎大家。</p>
? ? <script type="text/javascript">
? ? ? var mycon=document.getElemenById("con");
? ? ? document.write("p標(biāo)簽原始內(nèi)容":+mycon.innerHTML+<"br/">)
? ? </script>
</body>
<body>
? ? <p id="con">薩瓦迪卡,歡迎大家。</p>
? ? <script type="text/javascript">
? ? ? var mycon=document.getElemenById("con");
? ? ? document.write("p標(biāo)簽原始內(nèi)容":+mycon.innerHTML+<"br/">)
? ? </script>
</body>
2018-06-25
舉報(bào)
2018-06-28
<body>
? ? <p id="con">薩瓦迪卡,歡迎大家。</p>
? ? <script type="text/javascript">
? ? ? var mycon=document.getElementById("con");
? ? ? document.write("p標(biāo)簽原始內(nèi)容":+mycon.innerHTML+"<br/>")
</script>
</body>
2018-06-26
?? document.write("p標(biāo)簽原始內(nèi)容":+mycon.innerHTML+"< br />")
2018-06-26
2018-06-26
換行用<br/>,里面不要加雙引號(hào)