en.javascript.info/2-ui/1-document/07-modifying-document/9-calendar-table/source.view/index.html
Ilya Kantor 508969c13f up
2017-02-28 12:54:48 +03:00

38 lines
520 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<style>
table {
border-collapse: collapse;
}
td,
th {
border: 1px solid black;
padding: 3px;
text-align: center;
}
th {
font-weight: bold;
background-color: #E6E6E6;
}
</style>
</head>
<body>
<div id="calendar"></div>
<script>
function createCalendar(elem, year, month) {
// ...your code that generates the calndar in elem...
}
createCalendar(calendar, 2012, 9);
</script>
</body>
</html>