How to put calendar in html?

Asked By 20 points N/A Posted on -
qa-featured

Hello guys,

How to put calendar in html?

I am using an html programming language for web page development and any other websites including the use of PHP programming language.

Now in my current task how to put calendar in html I need some advice and suggestions experts.

Thank you.

SHARE
Answered By 0 points N/A #174109

How to put calendar in html?

qa-featured

Putting a calendar in HTML is not tough to do. It will create tables and generate series of rows and columns that are identical to spreadsheets.

First, add a table. Begin it with the code <TABLE BORDER=4 CELLSPACING=3 CELLPADDING=3>
 
The table will have a border size of 4and 3 spaces around the text.
 
Second, create the first row by putting these codes:
 
<TR>
 
<TD COLSPAN=“7” ALIGN=center>September 2012</TD>
 
</TR>
 
Always begin with <TR> and end with </TR> when adding a row.
 
 
Third, add the row for the days.
 
<TR>
 
<TD ALIGN=center>Sun</TD>
 
<TD ALIGN=center>Mon</TD>
 
<TD ALIGN=center>Tue</TD>
 
<TD ALIGN=center>Wed</TD>
 
<TD ALIGN=center>Thu</TD>
 
<TD ALIGN=center>Fri</TD>
 
<TD ALIGN=center>Sat</TD>
 
</TR>
 
 
Fourth, add rows of dates.
 
<TR>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER>1</TD>
 
</TR>
 
September 1, 2012 falls on Saturday. Hence, first to sixth columns are blank. Make sure that each day will have the correct numbers.
 
 
Fifth, continue adding rows of dates.
 
<TR>
 
<TD ALIGN=CENTER>2</TD>
 
<TD ALIGN=CENTER>3</TD>
 
<TD ALIGN=CENTER>4</TD>
 
<TD ALIGN=CENTER>5</TD>
 
<TD ALIGN=CENTER>6</TD>
 
<TD ALIGN=CENTER>7</TD>
 
<TD ALIGN=CENTER>8</TD>
 
</TR>
 
<TR>
 
<TD ALIGN=CENTER>9</TD>
 
<TD ALIGN=CENTER>10</TD>
 
<TD ALIGN=CENTER>11</TD>
 
<TD ALIGN=CENTER>12</TD>
 
<TD ALIGN=CENTER>13</TD>
 
<TD ALIGN=CENTER>14</TD>
 
<TD ALIGN=CENTER>15</TD>
 
</TR>
 
<TR>
 
<TD ALIGN=CENTER>16</TD>
 
<TD ALIGN=CENTER>17</TD>
 
<TD ALIGN=CENTER>18</TD>
 
<TD ALIGN=CENTER>19</TD>
 
<TD ALIGN=CENTER>20</TD>
 
<TD ALIGN=CENTER>21</TD>
 
<TD ALIGN=CENTER>22</TD>
 
</TR>
 
<TR>
 
<TD ALIGN=CENTER>23</TD>
 
<TD ALIGN=CENTER>24</TD>
 
<TD ALIGN=CENTER>25</TD>
 
<TD ALIGN=CENTER>26</TD>
 
<TD ALIGN=CENTER>27</TD>
 
<TD ALIGN=CENTER>28</TD>
 
<TD ALIGN=CENTER>29</TD>
 
</TR>
 
<TR>
 
<TD ALIGN=CENTER>30</TD>
 
<TD ALIGN=CENTER>31</TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER7</TD>
 
<TD ALIGN=CENTER></TD>
 
<TD ALIGN=CENTER></TD>
 
</TR>
 
Lastly, end the table by entering the code </TABLE>

Related Questions