Write HTML code to design a website for Flight Reservation.

 Preview- Click on image

Code-

Note - Save This File as index.html

<html>

<frameset rows="30%,*">

<frame src="heading.html">

<frame name="f3">

</frameset>

</html>

Note - Save This File as heading.html

<html>

<body>

<form>

<table  cellpadding=20 align=center>

<tr>

<td><img height=70px width=70px src="https://i.pinimg.com/originals/5f/9b/e5/5f9be5876eda5d373d7f91a8faf5e659.jpg"></td>

<td><font size=7>AirIndia</font></td>

<td><select>

<option value="India">India</option>

<option value="America">America</option>

<option value="Russia">Russia</option>

<option value="Malaysia">Malaysia</option>

</select>

</td>

</tr>

</table>

<table border=2 cellpadding=10 cellspacing=10  align=center>

<tr>

<td><font size=5><a href="home.html" target="f3">Home</a></font></td>

<td><font size=5><a href="trip.html" target="f3">Manage Your Trip</a></font></td>

</tr>

</table>

</form>

</body>

</html>

Note - Save This File as home.html

<html>

<body>

<table border=2 align=center>

<tr><td>

<table cellspacing=10>

<tr><td colspan=3><h1>Booking Information</h1></td></tr>

<tr><td>From:</td><td colspan=2><input type="text">

<tr><td>To:</td><td colspan=2><input type="text">

<tr><td>Departure Date:</td><td colspan=2><input type="text">

<tr><td>Returning Date:</td><td colspan=2><input type="text">

<tr><td>Adults</td><td>Children</td>

<td rowspan=2>

<select>

<option value="Economy">Economy</option>

<option value="Executive">Executive</option>

<option value="First">First</option>

</select>

</td>

</tr>

<tr><td>

<select>

<option value="one">1</option>

<option value="two">2</option>

<option value="three">3</option>

<option value="four">4</option>

<option value="five">5</option>

<option value="six">6</option>

<option value="seven">7</option>

<option value="eight">8</option>

<option value="nine">9</option>

</select>

</td>

<td>

<select>

<option value="zero">0</option>

<option value="one">1</option>

<option value="two">2</option>

<option value="three">3</option>

<option value="four">4</option>

<option value="five">5</option>

<option value="six">6</option>

<option value="seven">7</option>

<option value="eight">8</option>

<option value="nine">9</option>

</select>

</td>

</tr>

<tr><td colspan=3 align=center><input type="button" value="Book Now"></td></tr>

</table>

</td></tr>

</table>

</body>

</html>

Note - Save This File as trip.html

<html>

<form>

<h1 align=center>Manage Your Trip</h1>

<p align=center><u>Fare Details for Air India</u></p>

<table align=center border=2 cellpadding=10>

<tr>

<th>Class</th>

<th>Fare</th>

</tr>

<tr>

<td>Economy</td>

<td>10,000/-</td>

</tr>

<tr>

<td>Executive</td>

<td>20,000/-</td>

</tr>

<tr>

<td>First</td>

<td>30,000/-</td>

</tr>

</table>

<h3 align=right><a href="home.html">Home</a><h3>

</form>

</html>


0 Comments