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