How would you do it so that when you click on the Press button to see the months, the result shows it on the same screen and not that you open a new one and lose the format?
<html>
<head>
<title>Meses del año</title>
<meta charset="utf-8">
<style type="text/css">
body
{
background-color:#FF0000;
}
</style>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<font color="#030303" face="georgia" size="5">
<center>
<TABLE BORDER=3 width="1000" height="50">
<TR><TD>
<font face="georgia" size="30">
<MARQUEE SCROLLAMOUNT=10 BEHAVIOR="alternate"><b>Meses del año</b></MARQUEE>
</font>
</TD></TR>
</TABLE>
<script type="text/javascript">
function Mostrarmeses()
{
var meses = ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"];
var order = ['primer', 'segundo', 'tercero', 'cuarto', 'quinto', 'sexto', 'septimo', 'octavo', 'noveno', 'decimo', 'decimoprimero', 'decimosegundo'];
document.write('<br>');
for (var i = 0; i<12; i++)
{
document.write('<br>');
document.write("El " + order[i] +" mes es: "+meses[i]);
document.write('<br>');
}
}
</script>
</script>
<button type='button' onclick='Mostrarmeses()'>Presiona para ver los meses</button><br/>
</center>
</font>
</body>
</html>