File Questions
File Questions
Q3.Create a web page consisting Background image implement some background properties
a) Inline
b) Internal
c) External
Q5.Write an html code to divide the page into four division using div tag with proper margin , border and some
CSS properties .
Q6.Following target names are reserved while using <a href >.Explain each by designing single HTML document.
i) _blank
ii) _self
iii) _parent
Q8. Write a JavaScript code to create four functions addition, subtraction , multiplication , division .create two
buttons for submit and reset the output must be displayed in two Text fields.
Q9.Write an HTML code for the below login page: using internal CSS.
Q10.Write an HTML code to demonstrate the use of hover selector with <a> tag using CSS.
Q11.Write an HTML code to display a drop down menu(list) on a mouse-hover event (using hover selector) on the
web page .
Q13. Write a JavaScript to validate inputs to a form consists of four different functions:
a) Email validation will check to see if a value lives up to the general syntax of an email.eg validate it with @ .
b) Empty validation will check to see if a field is empty or not.
c) Username validation will check to see if a value consists of a number , a capital letter ,a small letter and
length should be greater than 8 character.
d) A proper alert box should be displayed if the user doesn’t enter the value in the above format.
A proper alert box should be displayed if the user doesn’t enter the values in the above format.
Q17. Write a program in JavaScript to print the square of the first natural numbers
Q18. Write a program in JavaScript to print the cube of a number take value from the user.
Q19.Write a program in JavaScript to create a user defined array.
Q24.Write a PHP program for showing the use of all the operators in PHP.