I'm having a lot of problems with what I'm trying to do. I have gone around and I do not know if it is possible, that having a table created in HTML, I can fill in the days of each month with JavaScript. The HTML code that I have is the following:
<head>
<script type="text/javascript" src="js/semanal.js"></script>
<link rel="stylesheet" type="text/css" href="../../css/estilo.css"/>
</head>
<div style="margin:40px; text-align:center;">
<a id="cmd_prev" href="#"><</a>
<span id="year">2017</span>
<a id="cmd_next" href="#">></a></div>
<div id="principal_pormeses">
<!-- CONTENEDOR TRABAJO -->
<center>
<ul class="Meses">
<li>Enero
<ul class="DiasSemana">
<p><li>L</li>
<li>M</li>
<li>X</li>
<li>J</li>
<li>V</li>
<li>S</li>
<li>D</li></p>
</ul></li>
<script>
</script>
<li>Febrero
<ul class="DiasSemana">
<p><li>L</li>
<li>M</li>
<li>X</li>
<li>J</li>
<li>V</li>
<li>S</li>
<li>D</li></p>
</ul></li>
<li>Marzo
<ul class="DiasSemana">
<p><li>L</li>
<li>M</li>
<li>X</li>
<li>J</li>
<li>V</li>
<li>S</li>
<li>D</li></p>
</ul></li>
<li>Abril
<ul class="DiasSemana">
<p><li>L</li>
<li>M</li>
<li>X</li>
<li>J</li>
<li>V</li>
<li>S</li>
<li>D</li></p>
</ul></li>
</ul>
</center>
<!-- ------------------ -->
</div>
And from here I do not know if you can insert a script to get every day of the month. I've been trying some things but I do not get anything. I'm still very green in JavaScript and it's costing me a lot, really. I appreciate all your help and valuable time.