HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. HTML is a subset of SGMT SGML SGMD None of these None 2. Which of the following is a server-side JavaScript object? Function File FileUpload Date None 3. The latest HTML standard is XML SGML HTML 4.0 HTML 5.0 None 4. Which CSS property you will use if you want to add some margin between a DIV's border and its inner text? spacing margin padding inner-margin None 5. Which is the correct way to write a JavaScript array? var txt = new Array(1:"arr",2:"kim",3:"jim") var txt = new Array:1=(" arr ")2=("kim")3=("jim") var txt = new Array("arr ","kim","jim") var txt = new Array=" arr ","kim","jim" None 6. Is it possible to declare a variable in Java Script along its type? Yes No None 7. Which of the following is the tainted property of a window object in JavaScript? Pathname Protocol Defaultstatus Host None 8. The file is a server-side JavaScript object? True False None 9. Which of the following is a client-side JavaScript object? File Function FileUpload Time None 10. How does Java Script store dates in objects of Date type? The number of days since January 1st, 1900 The number of seconds since January 1st, 1970 The number of milliseconds since January 1st, 1970 The number of picoseconds since January 1st, 1970 None 11. Which of the following attributes of text box control allow to limit the maximum character? size len maxlength All of these None 12. A much better approach to establish the base URL is to use BASE element HEAD element both (a) and (b) none of these None 13. The symbol used at the beginning of the HREF text is # $ & ^ None 14. The attribute of tag Method Action Both (a)&(b) None of these None 15. How to append a value to an array of JavaScript? arr[arr.length] = value arr[arr.length+1] = new Arrays() arr[arr.length-1] = value arr[arr.length*1] = value None 16. The default value of "position" attribute is _________. fixed absolute inherit relative None 17. Suppose we want to arrange five nos. of DIVs so that DIV4 is placed above DIV1. Now, which CSS property will we use to control the order of stack? d-index s-index x-index z-index None 18. Java script can be used for Storing the form's contents to a database file on the server False True None 19. Character encoding is method used to represent numbers in a character method used to represent character in a number a system that consists of a code which pairs each character with a pattern,sequence of natural numbers or electrical pulse in order to transmit the data none of these None 20. If we want to wrap a block of text around an image, which CSS property will we use? wrap push float align None 21. Which CSS property is used to control the text size of an element? font-style text-size font-size text-style None 22. Which of the following properties will we use to display a border around a cell without any content? empty-cell blank-cell noncontent-cell void-cell None 23. Which of the following is not a valid JavaScript variable name? 2java _java_and_ java _names javaandjava None of the above None 24. Which attribute can be added to many HTML / XHTML elements to identify them as a member of a specific group? Id div class span None 25. tag is designed to fit a single line of our web page but tag will accept a line of text full paragraph word request None