Published
- 1 min read
html not displaying
The solution for this is noted below
html not displaying
Solution
You must have used the JS document.write() after rendering all the html Example on how it doesn't
work:
<!doctype html>
<html>
<body>
<p>paragraph</p>
<button type="button" onclick="document.write(5 + 6)">click to see</button>
</body>
</html>
Try other methods by searching on the site. That is if this doesn’t work