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