HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. What java wrapper type is created when a JavaScript object is sent to Java? ScriptObject JavaObject Jobject JSObject None 2. 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 3. 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 4. 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 5. Markup tags tell the web browser How to organise the page How to display the page How to display a message box on page None of these None 6. 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 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”) None 8. 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 9. C-style block-level scoping is not supported in Javascript False True None 10. If we want to wrap a block of text around an image, which CSS property will we use? wrap push float align None 11. 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 12. The file is a server-side JavaScript object? True False None 13. If we want to show an Arrow as a cursor, then which value we will use? pointer default arrow arr None 14. 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 15. The latest HTML standard is XML SGML HTML 4.0 HTML 5.0 None 16. Which of the following attributes of text box control allow to limit the maximum character? size len maxlength All of these None 17. 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 18. By default, Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code? a {text: no-underline;} a {text-decoration:none;} a {text-style: no-underline;} a {text-decoration: no-underline;} None 19. Is it possible to declare a variable in Java Script along its type? Yes No None 20. Javascript is an object-oriented language? False True None 21. 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 22. Can we define the text direction via CSS property? Yes, we can No, we can't None 23. Which of the following is a client-side JavaScript object? File Function FileUpload Time None 24. HTML stands for? Hyper Text Markup Language Hyper Tabular Markup Language High Text Markup Language None of these None 25. Which of the below is used in Javascript to insert special characters? & \ - % None