2) Write HTML code to display calendar of the current month.


<HTML>
<HEAD>
<TITLE> Calendar </TITLE>
</HEAD>

<BODY>
<TABLE Cellpadding=”10?>
<CAPTION><H1>Septamber 2010</H1></CAPTION>
<TR>
<TH><font color=”red”>SUN</TH><TH>MON</TH><TH>TUS</TH>
<TH>WED</TH><TH>THU</TH><TH>FRI</TH><TH>SAT</TH>
<TR>

<TR>
<TH> </TH><TH> </TH><TH> </TH><TH>1</TH>
<TH>2</TH><TH>3</TH><TH>4</TH>
<TR>

<TR>
<TH><font color=”red”><b>5</TH><TH>6</TH><TH>7</TH>
<TH>8</TH><TH>9</TH><TH>10</TH><TH>11</TH>
<TR>

<TR>
<TH><font color=”red”><b>12</TH><TH>13</TH><TH>14</TH>
<TH>16</TH><TH>17</TH><TH>18</TH><TH>19</TH>
<TR>

<TR>
<TH><font color=”red”><b>20</TH><TH>21</TH><TH>22</TH>
<TH>23</TH><TH>24</TH><TH>25</TH><TH>26</TH>
<TR>

<TR>
<TH><font color=”red”><b>27</TH><TH>28</TH><TH>29</TH>
<TH>30</TH><TH> </TH><TH> </TH><TH> </TH>
<TR>
</TABLE>
</BODY>
</HTML>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s