0% found this document useful (0 votes)
45 views

Milestone III-Subjective Questions

This document contains two subjective questions. The first asks to create an XML document with person details and use Java DOM parser to print the name of any person over 40 years old. The second asks to create a sign-up page in HTML that validates user input for various fields like name, username, password, date of birth, email, address, phone number using JavaScript. It specifies the validation rules for each field and asks for a pop-up message to appear if any field is left blank on form submit.

Uploaded by

Ragini Bajpai
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Milestone III-Subjective Questions

This document contains two subjective questions. The first asks to create an XML document with person details and use Java DOM parser to print the name of any person over 40 years old. The second asks to create a sign-up page in HTML that validates user input for various fields like name, username, password, date of birth, email, address, phone number using JavaScript. It specifies the validation rules for each field and asks for a pop-up message to appear if any field is left blank on form submit.

Uploaded by

Ragini Bajpai
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like