Below is the html Code for required webpage , in below code no CSS applied as it uses default webpage styles:-
<!DOCTYPE html>
<html>
<body>
<!-- count values will add in below paragraph element
-->
<p id="count"></p>
</body>
<script type="text/javascript">
window.onload = function() {
//below loop count the numbers from 1-50 and show in
webpage element
for (var i = 1; i <= 50; i++) {
document.getElementById("count").append(i+" ");
}
};
</script>
</html>
Get Answers For Free
Most questions answered within 1 hours.