Here is my HTML code,
<p id="para1">This is paragraph1</p> <p id="para2>This is paragraph2</p> <p id="para3>This is paragraph3</p> <p id="para4>This is paragraph4</p>
How to hide id="para3" using Javascript?
<p id="para1">This is paragraph1</p>
<p id="para2">This is paragraph2</p>
<p id="para3">This is paragraph3</p>
<p id="para4">This is paragraph4</p>
<script>
var para = document.getElementById('para3').style.display = 'none';
</script>