<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript">
document.write("<p align='center'>");
for(var i=1;i<=5;i++){
for(var j=1;j<=2*i-1;j++){
document.write("*");
}
document.write("<br>");
}
document.write("</p>");
</script>
</head>
<body>
</body>
</html>