HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. If we don't want to allow a floating div to the left side of an element, which CSS property will we use? margin clear floa padding None 2. If we want to use a nice looking green dotted border around an image, which css property will we use? border-color border-decoration border-style border-line None 3. Which of the following is a client-side JavaScript object? File Function FileUpload Time None 4. If we want to show an Arrow as a cursor, then which value we will use? pointer default arrow arr None 5. The attribute, which defines the relationship between the current document and HREF'ed URL is REL URL REV All of these None 6. Which of the below is used in Javascript to insert special characters? & \ - % None 7. The default value of "position" attribute is _________. fixed absolute inherit relative None 8. Is it possible to declare font-weight, font-face & font-size by using ONLY ONE CSS properly? Yes, it's possible No, not possible None 9. Which of the following method is used to evaluate a string of JavaScript code in the context of the specified object? Eval ParseDoule ParseObject Efloat None 10. The map definition file is generally stored in CGI-BIN RECYCLE-BIN BIN All of these None 11. Can the element be replaced with No, they represent different elements altogether Both are same First is correct only first is only correct None 12. Which of the following is correct to write “Hello World” on the web page? System.out.println(“Hello World”) print(“Hello World”) document.write(“Hello World”) response.write(“Hello World”) None 13. 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 14. How will you make all paragraph elements 'RED' in color? p.all {color: red;} p.all {color: #990000;} all.p {color: #998877;} p {color: red;} None 15. What are Empty elements and is it valid? No, there is no such terms as Empty Element Empty elements are element with no data No, it is not valid to use Empty Element None of these None 16. Any part of the graphic that is not included in another hot zone is considered to be part of rect point default polygon None 17. 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 18. Java script can be used for Storing the form's contents to a database file on the server False True None 19. 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 20. Which of the following is a server-side JavaScript object? Function File FileUpload Date None 21. Which attribute needs to be changed to make elements invisible? visibility visible invisibility invisible None 22. What java wrapper type is created when a JavaScript object is sent to Java? ScriptObject JavaObject Jobject JSObject None 23. www is based on which model? Local-server Client-server 3-tier None of these None 24. ___________ JavaScript is also called client-side JavaScript. Microsoft Navigator LiveWire Native None 25. What language defines the behavior of a web page? HTML CSS XML Java Script None