HTML/CSS TEST Important Points to Remember. No cell phones or other secondary devices in the room or test area Your desk/table must be clear or any materials except your test-taking device No one else can be in the room with you No talking No dual screens/monitors No use of additional applications or internet 1 / 40 Which CSS property is used to control the text size of an element ? font-size inner-margin font-style text-size 2 / 40 Choose the correct HTML element to define emphasized text < i > < em > < italic > 3 / 40 How can you make a numbered list? < table >< head >< tfoot > < ul > < list > < dl > 4 / 40 Inline elements are normally displayed without starting a new line. FALSE TRUE 5 / 40 Suppose we want to arragnge five nos. of DIVs so that DIV4 is placed above DIV1. Now, which css property will we use to control the order of stack? s-index x-index d-index 6 / 40 If we want to wrap a block of text around an image, which css property will we use ? float wrap push 7 / 40 What is the correct HTML for making a text area? < input type="textbox" > < textarea > < input type="textarea" > 8 / 40 What is the correct HTML for making a checkbox? < checkbox > < check > < input type="check" > 9 / 40 The default value of "position" attribute is _________. text-style absolute fixed inherit 10 / 40 What should be the table width, so that the width of a table adjust to the current width of the browser window? void-cell full-screen 100% 640 pixels 11 / 40 If we want to show an Arrow as cursor, then which value we will use ? default arrow pointer 12 / 40 Can we define the text direction via css property ? No, we can't Yes, we can align 13 / 40 Which of these elements are all < table > elements? < table >< tr >< td > * < table >< tr >< tt > < thead >< body >< tr > 14 / 40 What is the correct HTML element for inserting a line break? < lb > < br > < break > < head > 15 / 40 How can you open a link in a new tab/browser window? < a >http://www.w3schools.com< /a > < a href="url" new > < a href="url" target="new" > < a href="url" target="_blank" > 16 / 40 Is it possible to declare font-weight, font-face & font-size by using ONLY ONE css propery ? Yes, it's possible No, not possible 17 / 40 How can you make a bulleted list? < ul > < ol > < list > 18 / 40 When we write < img src="img.png" >, what "img.png" inside double quote implies? value element span attribute 19 / 40 Choose the correct HTML element to define important text < important > < i > < strong > 20 / 40 Can we align a Block element by setting the left and right margins ? Not Possible z-index Yes, we can 21 / 40 What does HTML stand for? Hyperlinks and Text Markup Language Hyper Text Markup Language a { text-decoration: no-underline; } Home Tool Markup Language 22 / 40 What is the correct HTML for making a text input field? < input type="text" > < input type="textfield" > < input type="checkbox" > < textinput type="text" > 23 / 40 Who is making the Web standards? Google Microsoft Mozilla 24 / 40 What is the correct HTML for adding a background color? < img alt="MyImage" >image.gif< /img > < body bg="yellow" > < body style="background-color:yellow;" > < background >yellow< /background > 25 / 40 How will you make all paragraph elements 'RED' in color ? p.all { color: red; } p.all { color: #990000; } relative all.p { color: #998877; } 26 / 40 If we want define style for an unique element, then which css selector will we use ? class name Id text 27 / 40 If we want to use a nice looking green dotted border around an image, which css property will we use? border-decoration border-color border-style arr 28 / 40 What is the correct HTML for inserting a background image? < background img="background.gif" > < body bg="background.gif" > < body style="background-image:url(background.gif)" > 29 / 40 What is the correct HTML for creating a hyperlink? < b > < a href="http://www.w3schools.com" >W3Schools< /a > < a name="http://www.w3schools.com" >W3Schools.com< /a > < a url="http://www.w3schools.com" >W3Schools.com< /a > 30 / 40 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 < ' a comment' > 31 / 40 Which of the following properties will we use to display border around a cell without any content ? border-line noncontent-cell blank-cell empty-cell 32 / 40 Which attribute can be added to many HTML / XHTML elements to identify them as a member of a specific group ? class Id div < css > 33 / 40 Choose the correct HTML element for the largest heading: The World Wide Web Consortium < h6 > < heading > < h1 > 34 / 40 Which element is used in the < HEAD > section on an HTML / XHTMLpage, if we want to use an external style sheet file to decorate the page ? 1024 px < link > < style > < src > 35 / 40 How can we write comment along with CSS code ? / a comment / operator // a comment // /* a comment */ 36 / 40 Which character is used to indicate an end tag? / ^ < 37 / 40 What is the correct HTML for inserting an image? < img href="image.gif" alt="MyImage" > < input type="dropdown" > < image src="image.gif" alt="MyImage" > < img src="image.gif" alt="MyImage" > 38 / 40 By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code ? p { color: red; } a { text: no-underline; } a { text-style: no-underline; } a { text-decoration:none; } 39 / 40 If we don't want to allow a floating div to the left side of an element, which css property will we use? padding float clear margin 40 / 40 What is the correct HTML for making a drop-down list? < select > < textfield > < input type="list" > < list > 0%