August 2018
Intermediate to advanced
298 pages
5h 33m
English
Consider a simple form, as shown in the following screenshot, where we would like to get the user's name and their age. If the user enters their age and it is equal to or greater than 18, we will display You are eligible to vote! If not, we will display You are not eligible to vote now:

The following is the HTML code to show the preceding simple form:
<form> <table> <tr> <td> <label for="txtName">Name</label> </td>…… <td colspan="2"> <input type="submit" /> </td> </tr> </table></form>
This method of coding HTML elements directly is time-consuming and error-prone. ...
Read now
Unlock full access