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

CSS Assingment 5

Uploaded by

Priti Mane
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

CSS Assingment 5

Uploaded by

Priti Mane
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assingment 5

1. State what is a regular expression? Explain its meaning with the help of a suitable
example.
2. Write a webpage that accepts Username and adharcard as input texts. When the
user enters adhaarcard number ,the JavaScript validates card number and diplays
whether card number is valid or not. (Assume valid adhaar card format to be
nnnn.nnnn.nnnn or nnnn-nnnn-nnnn).
3. Write a script for creating following frame structure :

FRAME1

FRAME2 FRAME3
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
“FRAME3”.
4. Design the frameset tag for following frame layout :

5. FRAME1

6. FRAME2

7. FRAME3

8. Construct regular expression for validating the phone number in following format
only : (nnn)-nnnn-nnnn OR nnn.nnnn.nnnn
9. Write a JavaScript program to create rollover effect for three images.
10. Write a JavaScript that accepts a 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”.
11. Design frameset tag for representing following layout :
Frame 1

Fra Fra Fra


me me me
2 4 3

12. List any three properties of regular expression objects and state their use.
13. Explain test() and exec() method of Regular Expression object with example.
14. Explain text and image rollover with suitable example.
15. Describe regular expression. Explain search () method used in regular
expression with suitable example.

16. Explain frame works of javascript and its application.


17. Write a javascript program to validate user accounts for multiple set of user ID
and password (using swith case statement).
18. Write a javascript program to design HTML page with books information in
tabular format, use rollovers to display the discount information.

You might also like