Quiz Html and CSS Quiz 001 by Maninder Singh 22/10/2021 written by Maninder Singh 22/10/2021 0 comment Share 9FacebookWhatsapp 0% 1 votes, 3 avg 54 Html and CSS Quiz 001 1 / 50 Which of the following property is used as the shorthand property for the padding properties? padding-left padding-right padding 2 / 50 Which of the following property is used as the shorthand property of margin properties? margin-left margin-right margin 3 / 50 How to create a hyperlink in HTML? <a link = "www.mstips.in">mstips.in</a> <a url = "www.mstips.in"mstips.in /a> <a href = "www.mstips.in">mstips.in</a> 4 / 50 How to create an unordered list (a list with the list items in bullets) in HTML? <li> <ul> <ol> 5 / 50 Which of the following CSS property is used to set the background image of an element? bg-image background-image background-attachment 6 / 50 HTML stands for - HyperText and links Markup Language HighText Machine Language HyperText Markup Language 7 / 50 Which of the following HTML tag is the special formatting tag? <b> <pre> <p> 8 / 50 Which of the following CSS property is used to add shadows to the text? text-stroke text-shadow text-overflow 9 / 50 In HTML, tags are enclosed in '' "" <> [] {} 10 / 50 The correct sequence of HTML tags for starting a webpage is - HTML, Body, Title, Head HTML, Head, Title, Body HTML, Head, Title, Body 11 / 50 How to create a checkbox in HTML? <input type = "button"> <input type = "checkbox"> <checkbox> 12 / 50 Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow? all {background-color : yellow;} p {background-color : #yellow;} p {background-color : yellow;} 13 / 50 Which of the following is the correct syntax for referring the external style sheet? <style src = "example.css" > <style src = example.css> <link rel="stylesheet" type="text/css" href="example.css"> 14 / 50 In HTML5, which of the following tag is used to initialize the document type? <!DOCTYPE html> <Doctype> <\Doctype html> 15 / 50 CSS stands for - Color and style sheets None of the above Cascading style sheets Cascade style sheets 16 / 50 Which of the following is the correct syntax to display the hyperlinks without any underline? a {decoration : no-underline;} a {text-decoration : none;} a {text-decoration : underline;} 17 / 50 Which of the following CSS property is used to specify whether the table cells share the common or separate border? border-spacing border-radius border-collapse 18 / 50 How to insert an image in HTML? <img url = "photo.png" /> <img src = "hello.png" /> <img link = "image.png" /> 19 / 50 The CSS property used to control the element's font-size is - text-style font-size text-size 20 / 50 Which of the following tag is used for inserting the largest heading in HTML? <h1> <h3> <h5> 21 / 50 <input> is - a format tag. All an empty tag 22 / 50 Which of the following HTML tag is used to display the text with scrolling effect? <div> <scroll> <marquee> 23 / 50 Which of the following tag is used to define options in a drop-down selection list? <list> <dropdown> <option> 24 / 50 Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter? transform : capitalize; text-transform : capitalize; transform-style : capital; 25 / 50 Which of the following attribute is used to provide a unique name to an element? type id class 26 / 50 The CSS property used to specify whether the text is written in the horizontal or vertical direction? text-indent word-break writing-mode 27 / 50 Which of the following element is responsible for making the text bold in HTML? <b> <bold> <bd> 28 / 50 An HTML program/file is saved by using the ____ extension. .html .ht .hml 29 / 50 Which character is used to represent the closing of a tag in HTML? \ / ! 30 / 50 The CSS property used to specify the transparency of an element is - filter visibility opacity 31 / 50 The property in CSS used to change the text color of an element is - bgcolor text-color color 32 / 50 How to create an ordered list (a list with the list items in numbers) in HTML? <ul> <ol> <li> 33 / 50 The HTML attribute used to define the inline styles is - <style> style <link> 34 / 50 Which of the following element is responsible for making the text italic in HTML? <italic> <i> <it> 35 / 50 Which of the following is the root tag of the HTML document? <title> <head> <html> 36 / 50 A program/file in HTML can be rendered and read/displayed by - Server Interpreter Web browser 37 / 50 Which of the following tag is used to insert a line-break in HTML? <pre> <br> <a> 38 / 50 Are the negative values allowed in padding property? Yes No 39 / 50 The tags in HTML are - not case sensitive case-sensitive in upper case 40 / 50 Which of the following is the paragraph tag in HTML? <pre> <b> <p> 41 / 50 Which of the following is used to specify the subscript of text using CSS? vertical-align: sub vertical-align: super vertical-align: subscript 42 / 50 The CSS property used to draw a line around the elements outside the border? padding border outline 43 / 50 The CSS property used to make the text bold is - weight: bold font-weight : bold font: bold 44 / 50 Which of the following is the correct way to create hyperlinks to send mail in HTML? <mail xy@y.com</mail> <a href = "xy@y.com"> a href = "mailto: xy@y.com"> 45 / 50 The property in CSS used to change the background color of an element is - All background-color bgcolor 46 / 50 How to insert a background image in HTML? <body background = "img.png"> <bg-image = "img.png"> <img background = "img.png"> 47 / 50 Which of the following is the container for <tr>, <th>, and <td> ? <data> <table> <group> 48 / 50 HTML tags are enclosed in- ! and ? { and } < and > 49 / 50 The <hr> tag in HTML is used for - vertical ruler new paragraph horizontal ruler 50 / 50 Which of the following tag is used to add rows in the table? <td> and </td> <tr> and </tr> <th> and </th> Your score is The average score is 49% 0% Restart quiz Send feedback 413 Views Share 9 FacebookWhatsapp Maninder Singh previous post AI – TRAINING REGISTRATION next post Computer Fundamentals 002 Computer Fundamentals 002 23/10/2021 Computer Fundamentals 001 18/10/2021 AI Quiz 001 12/10/2021 QUIZ – DBMS 001 10/10/2021 QUIZ 003 08/10/2021 Quiz 002 07/10/2021 Quiz 001 12/06/2021 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment. Δ