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