Write a HTML program to print the squares of the numbers 1 to 10 number

Introduction

Write a HTML program to print the squares of the numbers 1 to 10 number.

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>www.techstudy.org</title>
</head>
<body>
1<sup>2</sup> = 1
<br />
2<sup>2</sup> = 4
<br />
3<sup>2</sup> = 9
<br />
4<sup>2</sup> = 16
<br />
5<sup>2</sup> = 25
<br />
6<sup>2</sup> = 36
<br />
7<sup>2</sup> = 49
<br />
8<sup>2</sup> = 64
<br />
9<sup>2</sup> = 81
<br />
10<sup>2</sup> = 100
</body>
</html>
</html>

Result

Write a HTML program to print the squares of the numbers 1 to 10 number
Write a HTML program to print the squares of the numbers 1 to 10 number

 

Leave a Comment