Web Designing & Publishing Mcq Mock Test 4 September 10, 2024 by Naman Mock Test 4 1 / 20 Which CSS property is used to specify different bofder-styles? Border-style Border Both None of the above 2 / 20 Which CSS property is used to specify the look and design of an outline? Outline-style Outline Outline_font None of the above 3 / 20 How can we set the maximum width of the element content box using CSS? Height property Max-height property Mx-width property None of the above 4 / 20 We can make rounded border around elements using which CSS element? Border-collpase Border-round Border-radius None of these 5 / 20 Which of the following are valid ways to represent a color in CSS? A valid color name RGB values HEX value All of the above 6 / 20 In the below code, in what order will the margins be added?P{margin:25px, 50px, 75px, 100px;} top, right, bottom, left 'top, left, bottom, right top, bottom, right, left right, left, top, bottom 7 / 20 Which of the following properties defines the spacing between letters? Space Line-height Letter-spacing None of the above 8 / 20 Which element has very similar properties to the DIV element? Strong Span Table All of the above 9 / 20 Which tag is used to display per-formatted text? ... ... ... ... 10 / 20 The HTML document contains a root tag called _________. Head Title Body HTML 11 / 20 The HTML standard which does not require double quotes around the values of an attribute is called________________? HTML1 HTML3 HTML5 HTML7 12 / 20 HTML uses _________? user-defined tags predefined tags fixed tags defined by the language tags for links only 13 / 20 When we write <img src="img.png">, what does "img.png" imply? Element Attribute Value Operator 14 / 20 Which JavaScript method is used to write into an alert box? Window.alertHTML() Window.alert() Window.alertbox() Window.alerContent() 15 / 20 What will be the output of the following code Print(typeof(NAN)); Object Number String None of the above 16 / 20 Which of the following methods can be used to display data in some form using JavaScript? Document.write() Console.log() Window.alert() All of the above 17 / 20 Which of the following methods is used to access HTML elements using JavaScript? getElementbyid() getElementsByClassName() Both (a) and (b) None of the above 18 / 20 Which operator will return false if two value are equal? ! != !== All of the above 19 / 20 Which operator is known as the equality operator, which checks whether its two operators are "equal"? = == === && 20 / 20 Tp find the length of a string, use the built-in _____________ property. size length area strlen Your score isThe average score is 0% 0% Restart quiz