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

CSS Important Questions

Uploaded by

jadhavayush590
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views

CSS Important Questions

Uploaded by

jadhavayush590
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CSS Important Questions

1. Design a webpage that displays a form that contains an input for username and password.
User is prompted to enter the input username and password and password become value of
the cookies. Write the JavaScript function for storing the cookies.
2. Write a JavaScript program to validate email ID of the user using regular expression.
3. List the attributes of Frame tag and explain any 2.
4. Explain text and image rollover with suitable example.
5. Write JavaScript that accepts users first name and domain name of organization from user.
The JavaScript then forms email address as <firstname@domain> name and displays the
results in the browser window.
6. List and state various properties of window object. Write javascript that opens a new popup
window with message “WELCOME To SCRIPTING” when page loads and a new popup
window displaying message “FUN WITH SCRIPTING” when the page unloads.
7. Write a JavaScript to open a new window and the new window is having two frames. One
frame containing button as “click here!”, and after clicking this button an image should open
in the second frame of that child window.
8. Differentiate between session cookies and persistent cookies.
9. Write the syntax for creating and deleting cookie in JavaScript.
10. Write a JavaScript syntax to accessing elements of another child window.
11. Write a JavaScript that demonstrates use of floating menu along with respective HTML script.
12. List the attributes of Frameset tag and explain any 2.
13. Write a JavaScript that accepts the string and searches for the pattern “MSBTE” in the given
string using regular expression. If the pattern is found JavaScript will display “Pattern is
found” else display “pattern is not found.”
14. Write a JavaScript to create rollover effect that involves text and images. When the user
places his or her mouse pointer over a book title, the corresponding book images appears
15. State the use of the following functions: i) clearTimeout() ii) setInterval()
16. List any four JavaScript frameworks.
17. Define regular expression with its modifiers.
18. Write a JavaScript function to check whether a given address is a valid IP address or not.
19. Write a JavaScript program that will create a pull-down menu with three options. Once the
user will select the one of the options then the user will redirected to that website.
20. Define regular expression with its metacharacters.
21. List Ways of protecting your web page and describe any one of them.
22. Design frameset tag for representing following layout:
Frame 1

Frame 2 Frame 4 Frame 3

23. List quantifiers used in RegEx with example.


24. Describe the navigator object in JavaScript. Describe the methods of navigator object which
is used to display browser name and version
25. Write a script for creating following frame structure : Frame 1 contains three buttons SPORT,
MUSIC and DANCE that will perform following action : When user clicks SPORT button,
sport.html webpage will appear in Frame 2. When user clicks MUSIC button, music.html
webpage will appear in Frame 3. When user clicks DANCE button, dance.html webpage will
appear in Frame 4.
26.
Write a JavaScript program to validate email ID of the user using regular expression.
27. Write a JavaScript to create option list containing list of images and then display images in
new window as per selection.
28. Explain how to use banners for displaying advertisement.
29. Write a JavaScript for protecting web page by implementing the following steps:
Hiding your source code
Disabling the right MouseButton
Hiding JavaScript
30. Write a JavaScript that demonstrates use of floating menu along with respective HTML
script.
31. Write a JavaScript to create a pull - down menu with four options [AICTE, DTE, MSBTE,
GO0GLE]. Once the user will select one of the options then user will be redirected to that
site
32. Write a JavaScript program to create a slide show with the group of six images, also simulate
the next and previous transition between slides in your JavaScript.
33. Write a JavaScript program to link banner advertisements to different URLs.
34. What is Status bar and how to display moving message on the status line of a window using
JavaScript.

35. State the use of the following functions:


1. i) setTimeout() ii) clearInterval()

You might also like