Milestone III-Subjective Questions
Milestone III-Subjective Questions
1. <book> (10) <person> <first>Kiran</first> <last>Pai</last> <age>22</age> </person> <person> <first>Bill</first> <last>Gates</last> <age>46</age> </person> <person> <first>Steve</first> <last>Jobs</last> <age>40</age> </person> </book> --------Execute a program using java DOM parser to create above xml and print person name if age is above 40 2. Create sign-up page for a website using HTML and validate using javascript for the following fields i. ii. iii. iv. v. vi. vii. viii. ix. FirstName (10) Lastname UserName (should not contain any special characters (or) symbols) Password (Should not be less than 5 characters and should not be greater than 8) Date of Birth Email-ID (It should be in this format: [email protected] it should not accept any format) Address Phone Number ( It should accept only 9 numbers and it should not accept any alphabets are special Characters) Submit button and cancel button
All the fields must be filled. If any of the fields is left blank and the page submitted, an popup must display Please fill all fields