1 Write code for the creation of a table using rowspan and c
1. Write code for the creation of a table using rowspan and colspan use all possible tags used in Table?
2. Write code for the creation of a Form using action attribute and use all possible tags used in Form?
Solution
1)
<!DOCTYPE html> <html> <head> <title>HTML table Tag</title> </head> <body> <table border=\"1\"> <tr> <th>Team</th> <th>Ranking</th> </tr> <tr> <td>India</td> <td>1</td> </tr> <tr> <td>South Africa</td> <td>2</td> </tr> <tr> <td>Australia</td> <td>3</td> </tr> </table> </body> </html>
2)
 <form action=\"abc.html\" method=\"get\" >
 First Name: <input type=\"text\" name=\"FirstName\" value=\"\" size=\"15\" maxlength=\"15\" /> Last Name: <input type=\"text\" name=\"LastName\" value=\"Smith\" size=\"20\" maxlength=\"20\" />
 <textarea cols=\"40\" name=\"comments\" rows=\"6\">please enter your comments... </textarea>
 Password:<input type=\"password\" value=\"\" name=\"mypassword\" maxlength=\"10\" size=\"10\" />
 <input type=\"radio\" name=\"title\" value=\"mr\" />Mr.<br /> <input type=\"radio\" name=\"title\" value=\"ms\" />Ms.<br /> <input type=\"radio\" name=\"title\" value=\"decline\" checked=\"checked\" />decline<br />
 <input type=\"checkbox\" name=\"checkbox1\" />Mail me more info<br /> <input type=\"checkbox\" name=\"checkbox2\" checked=\"checked\" />E-Mail me more info<br />
 <select name=\"countries\"> <option>Argentina</option> <option>Albania</option> <option>Afganistain</option> <option selected=\"selected\">Aruba</option> </select>
 <input type=\"hidden\" name=\"computerType\" value=\"DELL\" /> <input type=\"hidden\" name=\"computerOS\" value=\"WIN2K\" />
 <input type=\"image\" align=\"left\" name=\"_Next\" src=\"submitbutton.gif\" />
 <input type=\"submit\" name=\"_Previous\" value=\" < \" alt=\"Previous\" title=\"Previous\"/> <input type=\"submit\" name=\"_Next\" value=\">\" /> <input type=\"submit\" name=\"_Finish\" value=\">>\" /> <input type=\"submit\" name=\"_Pause\" value=\"||\" />
 </form>

