<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <script> for (var r = 1; r < 10; r++) { for (var c = 1; c <= r; c++) { document.write(c + ‘x‘ + r + ‘=‘ + c * r + ‘ ‘); } document.write(‘<br/>‘); } </script> </body> </html>