HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. 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 2. 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 3. The attribute, which defines the relationship between the current document and HREF'ed URL is REL URL REV All of these None 4. The body tag usually used after Title tag HEAD tag EM tag FORM tag None 5. 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 6. is format tag empty tag both (a) and (b) none of these None 7. The latest HTML standard is XML SGML HTML 4.0 HTML 5.0 None 8. 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 9. What should be the table width, so that the width of a table adjusts to the current width of the browser window? 640 pixels 100% full-screen 1024 px None 10. The map definition file is generally stored in CGI-BIN RECYCLE-BIN BIN All of these None 11. If we want to show an Arrow as a cursor, then which value we will use? pointer default arrow arr None 12. The file is a server-side JavaScript object? True False None 13. If we want to wrap a block of text around an image, which CSS property will we use? wrap push float align None 14. 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 15. 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 16. 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 17. Is it possible to declare a variable in Java Script along its type? Yes No None 18. The attribute of tag Method Action Both (a)&(b) None of these 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. 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 21. The default value of "position" attribute is _________. fixed absolute inherit relative None 22. C-style block-level scoping is not supported in Javascript False True None 23. Javascript is an object-oriented language? False True None 24. 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 25. Any part of the graphic that is not included in another hot zone is considered to be part of rect point default polygon None