HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. When we write , what "img.png" inside double quote implies? element attribute value operator None 2. The file is a server-side JavaScript object? True False None 3. Any part of the graphic that is not included in another hot zone is considered to be part of rect point default polygon None 4. 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 5. 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 6. 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 7. Javascript is an object-oriented language? False True None 8. 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 9. 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 10. Which of the following is the tainted property of a window object in JavaScript? Pathname Protocol Defaultstatus Host None 11. 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 12. 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 13. Which of the following is a server-side JavaScript object? Function File FileUpload Date None 14. 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 15. Can we define the text direction via CSS property? Yes, we can No, we can't None 16. Can we align a Block element by setting the left and right margins Yes, we can Not Possible None 17. The web standard allows programmers on many different computer platforms to dispersed format and display the information server. These programs are called Web Browsers HTML Internet Explorer None of these None 18. Which of the below is used in Javascript to insert special characters? & \ - % None 19. The attribute, which defines the relationship between the current document and HREF'ed URL is REL URL REV All of these None 20. The symbol used at the beginning of the HREF text is # $ & ^ None 21. The default value of "position" attribute is _________. fixed absolute inherit relative None 22. 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 23. HTML stands for? Hyper Text Markup Language Hyper Tabular Markup Language High Text Markup Language None of these None 24. 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 25. Can the element be replaced with No, they represent different elements altogether Both are same First is correct only first is only correct None