HTML, CSS & JS Questions Welcome to your HTML, CSS and JS Questions Name Email Phone Number 1. 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 2. Which of the below is used in Javascript to insert special characters? & \ - % None 3. 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 4. 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 5. 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 6. Java Script entities start with ____________ and end with ______________ Semicolon, colon Semicolon, Ampersand Ampersand, colon Ampersand, semicolon None 7. If we want to wrap a block of text around an image, which CSS property will we use? wrap push float align None 8. Which of the following method is used to evaluate a string of JavaScript code in the context of the specified object? Eval ParseDoule ParseObject Efloat 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. 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 11. 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 12. If we want to show an Arrow as a cursor, then which value we will use? pointer default arrow arr None 13. 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 14. 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 15. When we write , what "img.png" inside double quote implies? element attribute value operator None 16. The attribute, which defines the relationship between the current document and HREF'ed URL is REL URL REV All of these None 17. is format tag empty tag both (a) and (b) none of these None 18. Which of the following is not a valid JavaScript variable name? 2java _java_and_ java _names javaandjava None of the above None 19. 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 20. Which of the following is a server-side JavaScript object? Function File FileUpload Date None 21. What java wrapper type is created when a JavaScript object is sent to Java? ScriptObject JavaObject Jobject JSObject None 22. The attribute of tag Method Action Both (a)&(b) None of these None 23. Java script can be used for Storing the form's contents to a database file on the server False True None 24. The body tag usually used after Title tag HEAD tag EM tag FORM tag None 25. 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