HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. 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 2. Any part of the graphic that is not included in another hot zone is considered to be part of rect point default polygon None 3. The body tag usually used after Title tag HEAD tag EM tag FORM tag None 4. Which of the below is used in Javascript to insert special characters? & \ - % None 5. 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 6. Is it possible to declare a variable in Java Script along its type? Yes No None 7. The file is a server-side JavaScript object? True False None 8. Which of the following is used to capture all click events in a window? window.captureEvents(Event.CLICK); window.routeEvents(Event.CLICK ); window.handleEvents (Event.CLICK); window.raiseEvents(Event.CLICK ); None 9. 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 10. Which of the ways below is incorrect of instantiating a date? new Date(dateString) new Date() new Date(seconds) new Date(year, month, day, hours, minutes, seconds, milliseconds) None 11. www is based on which model? Local-server Client-server 3-tier None of these None 12. ___________ JavaScript is also called client-side JavaScript. Microsoft Navigator LiveWire Native None 13. Which CSS property is used to control the text size of an element? font-style text-size font-size text-style None 14. The symbol used at the beginning of the HREF text is # $ & ^ None 15. If we want to wrap a block of text around an image, which CSS property will we use? wrap push float align None 16. 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 17. What is the alternate name for Java script? LimeScript Both a and d ECMScript ECMAScript None 18. HTML stands for? Hyper Text Markup Language Hyper Tabular Markup Language High Text Markup Language None of these None 19. Which of the following is the tainted property of a window object in JavaScript? Pathname Protocol Defaultstatus Host None 20. 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 21. Can the element be replaced with No, they represent different elements altogether Both are same First is correct only first is only correct None 22. HTML is a subset of SGMT SGML SGMD None of these None 23. 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 24. Which of the following is a server-side JavaScript object? Function File FileUpload Date None 25. 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