Welcome to SRMASC Start QuizPage 1 of 15 Which of the following methods is used to access HTML elements using Javascript? getElementbyId() getElementbyClassName() Both A & B None of the Above Page 2 of 15 Which of the following keywords is used to define a variable in Javascript? var let Both A & B None of the Above Page 3 of 15 What will be the output of the following code snippet? 20 x+y 128 None of the Above Page 4 of 15 What will be the output of the following code snippet? 1 2 3 4 2 3 4 1 2 4 3 1 4 3 2 1 Page 5 of 15 What will be the output of the following code snippet? Yes No Error None of the Above Page 6 of 15 How many sizes of headers are available in HTML by default? 5 1 3 6 Page 7 of 15 Which of the following properties is used to change the font of text? font-family font-size text-alien None of the Above Page 8 of 15 The CSS inside HTML elements used alongside style attribute is called? Inline CSS. Internal CSS. External CSS None of the Above Page 9 of 15 What are some valid character sets available? ASCII UTF-8 ANSI All of the Above None of the Above Page 10 of 15 Which HTML tag is used to set up a Javascript-like client-side scripting language? None of the below javascript js script Page 11 of 15 In the below code snippet, in what order will the margins be added? Top, Right, Bottom, Left Top, Bottom, Right, Left Top, Bottom, Left, Right Right,Top, Right, Bottom Page 12 of 15 What will be the width of the div element given below? 310 350 360 None of the Above Page 13 of 15 What value should be passed to the width parameter if we want an element, say a table, to span the entire width of the screen? 0% 25% 50% 100% Page 14 of 15 What function is used to insert values of a CSS variable? var() rand() varchar() calc() Page 15 of 15 Which of the following CSS property specifies the type of list item marker? list list-style-type ol ul Ready to send