CSS Assign 5 - 2024
CSS Assign 5 - 2024
1. State what regular expression is. Explain its meaning with the help of a suitable
example.(2)
2. Write HTML code to design a form that displays textboxes for accepting UserID and
Adhaar No and SUBMIT button.UserID sould contain 10 alphanumeric characters and
must start with Capital Letter.Aadhar No should contain 12 digits.Write Javascript code to
validate the UserID and Aadhar No when user clicks on SUBMIT button.(6)
3. Write HTML script that will display following structure
Name
Email
Pin Code
Submit
FRAME 1
FRAME 2 FRAME 3
FRUITS
FLOWERS
CITIES
FRUITS, FLOWERS and CITIES are links to the webpage fruits.html, flowers.html,
cities.html respectively. When these links are clicked corresponding data appears in
FRAME 3.(6)
12. Write a JavaScript syntax to accessing elements of another child window
13.Write a JavaScript that accepts string and searches for the pattern “MSBTE” in the
given string using regular expressions. If the pattern is found, JavaScript will display that
“Pattern is found” else display “Pattern is not found”.(4)
14.Write an HTML Script that displays names of different brands of laptops and an image
by default as:
Lenovo
HP IMAGE
DELL
When the mouse moves over the specific brand name the script must display the image of
respective laptop in the adjacent box.(4)
dddd-dddd-dddd
(ddd)-(dddddddd)
Frame1
ii)List any three properties of regular expression objects and state their use(6)