Important Questions
Important Questions
Unit-1
Unit-2
1. Illustrate the purpose of span & div tag in HTML.
2. What are HTML forms?
3. What do you mean by row spanning and column spanning?
4. What is table tag? write syntax.
5. Explain the use of image and image map in html. Give suitable example.
6. What is hypertext and href?
7. How to insert Images in a web page. Explain with help of example.
8. What is list and its types. Explain with an example each.
9. How would you make all text on a page green and a little larger than normal, but make all headings yellow? Put the
following at the beginning of the Web page.
10. What is cellspacing and cellpadding. Write script using cellspacing and cellpadding.Write a complete HTML form
using checkbox, actions buttons(SUBMIT, RESET), <textarea> tag and radio button.
11. Explain frames and its usefulness.
12. Discuss the <frameset> and <frame> tag. Divide the web page into four equal parts. Top and Bottom frame show
Header and Footer respectively. Left frame must display Table of Contents which open in the right part.
13. What are the different system defined targets can be set to open the website? Give example.
14. Build a JS program to convert temperature from Celsius to Fahrenheit and vice versa
15. What are rowspan and colspan attributes?
16. What are the necessities and use of HTML Forms? Create a HTML Form page for Railway Registration Form.
17. How to create user interactive web pages using Form elements and Form objects? Develop a Student registration form
using HTML Form elements. (Assume your own fields).
18. Create an HTML code to create a web page that display CV of Student.
19. Create an HTML code to create a web page that display the class Time Table.
20. Write and explain tags to create following HTML form elements with their attributes.
(i)textbox
(ii)Dropdown list
(iii)Password filed
(iv)Checkbox
(v)radio button
Unit-3
1. Define cascading. What are Style Sheets?
2. List down the ways of including style information in a document.
Or
Explain different ways to implement CSS on web page.
3. What are the style precedence rules when using multiple approaches?
4. What is CSS? List out the Various CSS basic properties.
5. How will you put background image using CSS? write script.
6. Describe the Box Model in CSS.
7. Illustrate the different border style available in CSS.
8. Explain the difference between id and class selector in CSS.
9. Explain different types of selectors in CSS with example.
10. Mention the different types of Links
11. What are the CSS frameworks? Explain in brief.
12. Write a CSS rule that makes all the text 2.5 times larger than the base font of the system.
13. Demonstrate how conflict resolved among multiple style sheets adding techniques.
14. Describe the method of creating page layout using CSS.
15. Design a login page which displays the form elements in the centre of the screen by using CSS.
Unit-4
1. Differentiate between Client Side scripting and Server Side Scripting.
2. What is JavaScript ? Why do we use it? Or
Discuss why Java Script needed in Web development.
3. List JavaScript data types.
4. Define BOM and DOM.
5. Differentiate between Null and Undefined in JavaScript.
6. What is the use of typeof operator in JavaScript?
7. Explain JS array. How a value can be appended to an array?
8. Why JS has been called dynamically typed language?
9. Write a JS function that takes 3 parameters, price, tax rate, balance, and prints YES in an alert box if someone has
adequate balance to purchase an item at the specified price with the given tax rate. Otherwise, print NO in alert box.
10. What is the difference between == and === operator?
11. Write a function that keeps prompting the user for input until the letter "p" is typed by the user.
12. Write a JavaScript function that takes 4 variables, a, b, c, d, and prints true in an alert box if input a > input b and input
c > input d. Else, print false in an alert box.
13. Explain: getElementById , getElementByName, getElementByTagName and getElementByClassName methods.
14. Write a HTML script that contains JS function that prompts user for a color and uses what they typed to set the
background color of the web page.
15. Define function in JS. Write a JS function to find sum of first 20 even natural numbers.
16. Mention the various JS object models with their properties and methods:
• Math Object • String Object
17. List out some common window object methods related to time.
18. How do you assign object properties?
19. What is DHTML?
20. What boolean operators and Looping structures provided by JS?
21. Explain 'this' keyword in JS. What does isNaN function do?
22. What can JS programs do?
23. Are Java and JS the same? OR Differentiate between Java and JavaScript.
24. How to embed JS in a web page?
25. How to access an external JS file that is stored externally and not embedded?
26. Name & differentiate JS popup boxes/ dialog boxes in JS.
27. How to comment JS code?
28. List following events with the example
• onKeypress • onKeyUp • onKeyDown • onMouseUp • onMouseDown • onMouseOver • MouseOut event
29. Explain the term “Events” and the various event handlers in JS. Give an example.
30. Using a JS create a web page using two image files , which switch between one another as the mouse pointer moves
over the images.
31. Write a JS program to develop the arithmetic calculator.
32. Explain object. How many ways JS objects are created.
33. Describe the Date object & its methods in JS. WAP to display current time and date separately on Browser’s window.
34. What are the methods associated with array object in JavaScript? Explain each with example.
35. Write a JS program to display a welcome message when button of an HTML form is pressed.
36. Use different String function with example Do the same for the Math object and Number object .
37. Develop a simple online shopping application using JS(Assume your own data)
38. Develop a JS program to display a message “HI ! GOOD MORNING TO YOU” when a page is loaded and display a
message “THANKS TO VISIT OUR WEB PAGE” when a page is unloaded.
39. Mention the real time usefulness of JS with appropriate example.
40. What do you understand by “Validation”? Design a web page with a text box to enter UserName, UserId, Password,
PinCode, PhoneNo, EmailId and a button “Validate”. Validate all the entered fields for following using JS:
i. Not any fields should be left empty
ii. UserName field should have alphabets
iii. UserId field should be alphanumeric.
iv. Password contain at least 1 digit, 1 special character with alphabets & min. length is 8 characters.
v. Pincode must be of 6-digits.
vi. PhoneNo must be 10-digit.
vii. EmailId must contain ‘@’ and ‘.’ Character
41. Write a JS that takes three integers from the user and displays the sum, average, product, smallest and largest of the
numbers in an alert dialog.
42. Explain Cookie in JS.
Unit-5
1. Explain the Web Hosting with example. How do Web Hosting work?
2. Discuss the different types hosting packages(or hosting services).
3. Differentiate between Windows Hosting and Linux Hosting.
4. Explain Domain. What is Subdomain and Top-Level Domain(TLD).
5. Explain how Domain Name works?
6. Mention the steps required in registering Domains. Why Domain registering is useful.
7. Compare Web Hosting and Domain hosting.
8. Define Name Servers. Distinguish between Nameservers and DNS.
9. Define Control Panel. Name and explain most commonly used panels.
10. Write the steps to create Email in CPanel.
11. What do mean by search engine? How do search engine work?
12. What do you mean by searching? Explain the concept of Search engine optimization(SEO).
13. Discuss the usage of FTP server and FTP client. Mention the common FTP errors.
14. Distinguish between FTP and SFTP.
15. Explain the importance of maintaining a website.
16. Explain On Page Optimization and Off Page Optimization under SEO. Also differentiate them.
17. Name and explain the two sections of Google’s search results.
18. What is the meaning of organic traffic in SEO. Outline the usage of title and meta tags in SEO.