HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. 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 2. 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;} 3. The latest HTML standard is XML SGML HTML 4.0 HTML 5.0 4. Which attribute needs to be changed to make elements invisible? visibility visible invisibility invisible 5. Which CSS property is used to control the text size of an element? font-style text-size font-size text-style 6. 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 7. 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”) 8. When we write , what "img.png" inside double quote implies? element attribute value operator 9. Javascript is an object-oriented language? False True 10. 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 11. C-style block-level scoping is not supported in Javascript False True 12. Which of the following is a server-side JavaScript object? Function File FileUpload Date 13. Which of the following is the tainted property of a window object in JavaScript? Pathname Protocol Defaultstatus Host 14. Is it possible to declare a variable in Java Script along its type? Yes No 15. The map definition file is generally stored in CGI-BIN RECYCLE-BIN BIN All of these 16. Which attribute can be added to many HTML / XHTML elements to identify them as a member of a specific group? Id div class span 17. HTML is a subset of SGMT SGML SGMD None of these 18. 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 19. Java Script entities start with ____________ and end with ______________ Semicolon, colon Semicolon, Ampersand Ampersand, colon Ampersand, semicolon 20. 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 21. Java script can be used for Storing the form's contents to a database file on the server False True 22. A much better approach to establish the base URL is to use BASE element HEAD element both (a) and (b) none of these 23. Can we define the text direction via CSS property? Yes, we can No, we can't 24. is format tag empty tag both (a) and (b) none of these 25. 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