Forum : Assignment on html tables
Brief description  about Online courses   join in Online courses
View Milind  Diwakar 's Profile

Assignment on html tables

Dear Sir
I am working on my assignment of "Creating a basic website using tables". Assignment question says: "Create a basic webpage using tables".
However, I am not very clear about, what is expected here actually. If you can suggest on sample contents of this web-page, it will help me to write my code accordingly.
Regards - Milind Diwakar
Asked by Milind Diwakar | Aug 31, 2010 |  Reply now
Replies (2)
View nagaraj jalawadi 's Profile
hello, u need to do a web page using table tags such as th,td,tr.
i've given u a sample fallowing code which i submitted as my assignment..


================================================================
<html>
<head>
<title>Assignment No 6</title>
</head>
<body>
<h3>Assignment No : 6</h3>
<big><h5>Basic web page using tables</h5></big><PRE><h2><font size=7,font color=maroon> WelCome to Maruti Show Room</font></h2></PRE>

<hr>

<p align=justify><font color=#808080>Knowing Maruti Suzuki Maruti Suzuki India Limited (MSIL, formerly Maruti Udyog Limited), a subsidiary of Suzuki Motor Corporation of Japan, is India's largest passenger car company, accounting for over 50 per cent of the domestic car market.

Full Range of cars We offer 13 brands and over 150 variants ranging from people's car Maruti 800 to stylish hatchback Ritz, A star, Swift, DZire, SX4 sedan and luxury suv Grand Vitara.</font></p>

<p align=justify><font color=#808080>Maruti Suzuki considers road safety to be an integral part of its social initiatives. Taking forward its commitment to road safety, Maruti Suzuki has adopted a National Road Safety Mission launched in Dec 2008 under which 500000 people will be trained in road safety in the next three years. This will be done through the two channels - Institute of Driving Training and Research (IDTR) and the Maruti Driving Schools spread across the country. Of the 500,000 people to be trained, at least 100,000 will be people from underprivileged section of society, who are keen to take driving as a profession.</p></font>



<h4>Hatchbacks</h4>


<table border=1 width=600>
<tr>
<th bgcolor=#808080>Car Name</th>
<th bgcolor=#808080>Variants</th>
<th bgcolor=#808080>Power/torque</th>
<th bgcolor=#808080>Wheelbase(mm)</th>
<th bgcolor=#808080>Fuel <br>consumption(km/l)</th>
<th bgcolor=#808080>Starting <br>price</th>
</tr>

<tr>
<td bgcolor=#C0C0C0>Chevrolet Spark</td>
<td >petrol, LPG</td>
<td >90Nm/995cc</td>
<td >2345</td>
<td >13.1</td>
<td>2.74</td>
</tr>

<tr>
<td bgcolor=#C0C0C0>Fiat Palio</td>
<td>petrol, diesel</td>
<td>57PS, 100PS</td>
<td>2373</td>
<td>12.4, 9.5</td>
<td>3.57</td>
</tr>

<tr>
<td bgcolor=#C0C0C0>Fiat 500</td>
<td>1.6L petrol</td>
<td>1596cc, 1248cc</td>
<td>2373</td>
<td>12.4, 9.5</td>
<td>3.57</td>
</tr>

<tr>
<td bgcolor=#C0C0C0>Hyundai <br>Santro </td>
<td>petrol, LPG</td>
<td>63PS / 89Nm</td>
<td>2380</td>
<td>12.8</td>
<td>2.67-4.10</td>
</tr>

<tr>
<td bgcolor=#C0C0C0>Hyundai <br>i10</td>
<td>MT / AT</td>
<td>80PS / 111Nm</td>
<td>2380</td>
<td>17</td>
<td>1.97</td>
</tr>
</table>

<br>
<br>

<table border=1 width=450, align=center>
<tr>
<th bgcolor=55ff55>Show Room Address</th>
<tr/>
<td bgcolor=cream width=450 align=center><font size=4,font color=green>
#123, Mattikere<br>
HMT Road <br>
Bangalore-60<br></font>
</td>
</table>

</body>
</html>
===========================================================
Sep 20, 2010
View teacher siliconindia 's Profile
Hi Milind,

Its pretty simple, you gotta use the concepts which you learned so far and create a simple webpage using tables. You can have a top banner, left menu, content on the right hand side. You can use your creativity here and come up with something nice.

Regards
Teacher
Sep 1, 2010