Logo/

HTML and CSS Essentials

Log in

Made with ScholarlyMake flashcards like these from your own notes

HTML and CSS Essentials

Questions and answers

394 cards
  1. Question:What does the element !DOCTYPE html indicate?

    Answer:It indicates the document type definition being used by the document.

  2. Question:What tag is used to create an unordered list in HTML?

    Answer:The tag used to create an unordered list is .

  3. Question:What does the float property define?

    Answer:The float property defines the position of content.

  4. Question:What tag is used to create a form in HTML?

    Answer:The tag used to create a form is .

  5. Question:What input type is used to define a field for entering a number?

    Answer:The input type 'number' defines a field for entering a number.

  6. Question:What input type is used to define an image as a submit button?

    Answer:The input type 'image' defines an image as a submit button.

  7. Question:What input type is used to define a field for an email address?

    Answer:The input type 'email' defines a field for an email address.

  8. Question:What input type is used to define the range control?

    Answer:The input type 'range' defines the range control.

  9. Question:What input type is used to define a date picker that includes the year, month, day, and time?

    Answer:The input type 'datetime-local' defines a date picker that includes the year, month, day, and time.

  10. Question:What input type defines a file select field and a 'Browse' button for uploads?

    Answer:The input type 'file' defines a file select field and a 'Browse' button for uploads.

  11. Question:What input type is used to define input fields that should contain a telephone number?

    Answer:The input type 'tel' is used to define input fields that should contain a telephone number.

  12. Question:What attribute of the input tag specifies the maximum value for an input field?

    Answer:The attribute 'max' specifies the maximum value for an input field.

  13. Question:What attribute of the input tag specifies a regular expression to check the input values?

    Answer:The attribute 'pattern' specifies a regular expression to check the input values.

  14. Question:What attribute of the input tag specifies that an input field is read only?

    Answer:The attribute 'readonly' specifies that the input field is read only.

  15. Question:What attribute of the input tag specifies that the input field should automatically get focus when the page is loaded?

    Answer:The attribute 'autofocus' specifies that the input field should automatically get focus when the page is loaded.

  16. Question:What attribute of the input tag specifies the width of an input type 'image'?

    Answer:The attribute 'width' specifies the width of an input type 'image'.

  17. Question:What attribute of the input tag is used to apply CSS style to the individual input element?

    Answer:The attribute 'class' is used to apply CSS style to the individual input element.

  18. Question:What tag is used by search engines to search information provided with the web page?

    Answer:The tag used by search engines is .

  19. Question:What attribute of the meta tag specifies the name of the meta data?

    Answer:The attribute 'name' specifies the name of the meta data.

  20. Question:What does the meta http-equiv attribute 'set-cookies' do?

    Answer:The meta http-equiv 'set-cookies' sends the cookies back to the server.

  21. Question:What can a block contain in CSS?

    Answer:A block can contain one or more declarations separated by a semicolon.

  22. Question:What does CSS stand for?

    Answer:CSS stands for Cascading Style Sheets.

  23. Question:What is an external style sheet used for?

    Answer:An external style sheet is used when you want to make changes on multiple pages.

  24. Question:What tag is used for including an external style sheet on every page?

    Answer:The tag is used on every page for external style sheets.

  25. Question:What file extension must an external style sheet be saved with?

    Answer:.css

  26. Question:What property is used to set the background color in your webpage?

    Answer:The property 'background-color' is used to set the background color in your webpage.

  27. Question:What property is used to add strike-through marks, underline, overline etc.?

    Answer:The property 'text-decoration' is used to add strike-through marks, underline, overline etc.

  28. Question:What property controls the horizontal alignment of any block-level text?

    Answer:The property 'text-align' controls the horizontal alignment of any block-level text.

  29. Question:What property allows you to control the size of the font?

    Answer:The property 'font-size' allows you to control the size of the font.

  30. Question:What property is used to set an image as the background of a webpage?

    Answer:The property 'background-image' is used to set an image as the background of a webpage.

  31. Question:What selector selects the id attribute of an HTML element to select a specific element?

    Answer:The id selector selects the id attribute of an HTML element.

  32. Question:How is the Class selector used?

    Answer:The Class selector is used with a period followed by the class name.

  33. Question:How many types of positioning are there in CSS?

    Answer:There are four types of positioning in CSS.

  34. Question:What is the default position for an HTML element?

    Answer:The default positioning is 'static'.

  35. Question:What keeps the element float on the left side of the container?

    Answer:The value 'floatleft' keeps the element float on the left side of the container.

  36. Question:What keeps the element float on the right side of the container?

    Answer:The value 'floatright' keeps the element float on the right side of the container.

  37. Question:What attribute of the ol tag specifies the numbering type for the used items?

    Answer:The attribute 'type' specifies the numbering type for the used items.

  38. Question:What is an unordered list also called?

    Answer:An unordered list is also called a bulleted list.

  39. Question:What can an ordered list be?

    Answer:An ordered list can be numerical or alphabetical.

  40. Question:What tag is used to define a definition list?

    Answer:The tag is used to define a definition list.

  41. Question:What is used to define a term's definition in a definition list?

    Answer:The tag is used to define a term's definition.

  42. Question:What attribute of the audio tag sets the audio to start over again every time it is finished?

    Answer:The attribute 'loop' sets the audio to start over again every time it is finished.

  43. Question:What is an image with multiple hyperlinks called?

    Answer:An image with multiple hyperlinks is called an image map.

  44. Question:Which attribute of the img tag is used to create a client-side image map?

    Answer:The attribute 'usemap' of the img tag is used to create a client-side image map.

  45. Question:What acts as a pointer that indicates that the image is a client-side image map?

    Answer:The attribute 'usemap' acts as a pointer that indicates that the image is a client-side image map.

  46. Question:What attribute of the map tag specifies the name of the image used for the client-side image map?

    Answer:The attribute of the map tag that specifies the name of the image used for the client-side image map is 'name'.

  47. Question:What does the href attribute of the area tag define?

    Answer:The href attribute of the area tag defines the URL to which the clickable region within the image map navigates.

  48. Question:What does the coords attribute specify in the area tag?

    Answer:The coords attribute specifies the coordinates of the clickable regions on the image map.

  49. Question:What makes a website available on the Internet?

    Answer:A website is made available on the Internet with the help of web hosting.

  50. Question:What is a cost-effective method of web hosting?

    Answer:Shared hosting is a cost-effective method of web hosting.

  51. Question:What tag is used to create a form?

    Answer:The tag is used to create a form.

  52. Question:What input type defines a color picker?

    Answer:The input type 'color' defines a color picker.

  53. Question:What input type defines a month and year control?

    Answer:The input type 'month' defines a month and year control.

  54. Question:What input type defines a week and year control?

    Answer:The input type 'week' defines a week and year control.

  55. Question:What attribute specifies whether an input field should have autocomplete on or off?

    Answer:The attribute 'autocomplete' specifies whether a form or input field should have autocomplete on or off.

  56. Question:What does CSS stand for?

    Answer:CSS stands for Cascading Style Sheets.

  57. Question:What does the 'background-color' property do in CSS?

    Answer:The 'background-color' property sets the background color in your webpage.

  58. Question:What is the default value of the 'type' attribute of an ordered list?

    Answer:The default value of the 'type' attribute of an ordered list is '1'.

  59. Question:What tag is used to embed video into a web page?

    Answer:The tag is used to embed video into a web page.

  60. Question:What attribute sets the width of the video player?

    Answer:The attribute 'width' sets the width of the video player.

  61. Question:Which tag is used to insert an image on a web page?

    Answer:The tag is used to insert an image on a web page.

  62. Question:Which tag is used to map the image?

    Answer:The tag is used to map the image.

  63. Question:What attribute defines the URL to which the clickable region in the image map navigates?

    Answer:The href attribute of the area tag defines the URL to which the clickable region within the image map navigates.

  64. Question:What specifies the coordinates of the clickable regions on the image map?

    Answer:The coords attribute specifies the coordinates of the clickable regions on the image map.

  65. Question:What does the 'controls' attribute of the audio tag do?

    Answer:The 'controls' attribute of the audio tag adds audio controls such as play, pause, and volume.

  66. Question:What is the extension of a CSS file?

    Answer:.css

  67. Question:What is true about the charset in terms of character encoding declaration?

    Answer:Charset is used for character encoding declaration.

  68. Question:Is '.cs' the extension of a CSS file?

    Answer:False, the correct extension is '.css'.

  69. Question:Does input type 'tel' define input fields that should be disabled?

    Answer:False, input type 'tel' is used to define input fields that should contain a telephone number.

  70. Question:Is the readonly attribute used to specify that an input field is read only?

    Answer:True, readonly attribute specifies that an input field is read only.

  71. Question:Does the meta tag help search engines find information provided with the webpage?

    Answer:True, the meta tag is used by search engines to search information that is provided with the webpage.

  72. Question:Does the audio start playing as soon as it is ready because of the 'autoplay' attribute?

    Answer:True, using the 'autoplay' attribute of the audio tag, the audio will start playing as soon as it is ready.

  73. Question:What does CSS stand for?

    Answer:Cascading Style Sheets.

  74. Question:What does CSS allow you to control?

    Answer:The look and feel of several pages by changing a single source.

  75. Question:What can each declaration block contain?

    Answer:One or more declarations separated by a semicolon.

  76. Question:What is the purpose of inline CSS?

    Answer:Inline CSS is used to apply CSS in a single line or element.

  77. Question:What property is used to italicize text?

    Answer:Font-style property.

  78. Question:What extension must an external CSS file be saved with?

    Answer:.CSS extension.

  79. Question:What defines an ID in CSS?

    Answer:An ID is a unique element.

  80. Question:Should a class name start with a number?

    Answer:No, a class name should not start with a number.

  81. Question:What is an example of a class selector?

    Answer:.abccolorblue.

  82. Question:How are selectors separated in grouping?

    Answer:Commas are used to separate each selector.

  83. Question:What is the default position for HTML elements?

    Answer:Static positioning.

  84. Question:What does the relative positioning property do?

    Answer:It sets the element relative to its normal position.

  85. Question:What does the float property define?

    Answer:The flow of content.

  86. Question:What is the default value for the float property?

    Answer:Float none.

  87. Question:What does the ol tag define?

    Answer:An ordered list.

  88. Question:What is the default value of the type attribute in an ordered list?

    Answer:1.

  89. Question:What marks the list items in unordered lists?

    Answer:Symbols (bullets), not numbers.

  90. Question:What does ul type 'square' set the list item marker to?

    Answer:A square.

  91. Question:What attribute is used to display audio controls?

    Answer:Controls attribute.

  92. Question:What does the SRC attribute specify?

    Answer:The URL of the audio file.

  93. Question:Why are multiple sources of audio specified?

    Answer:So that if the browser is unable to play the first source, then it will jump to the second source.

  94. Question:What does the height attribute set?

    Answer:The height of the video player.

  95. Question:What does the width attribute set?

    Answer:The value in pixels.

  96. Question:What tag is used to insert an image on a web page?

    Answer:The img tag.

  97. Question:What is the shape 'poly' attribute used for?

    Answer:To give a hotspot of pentagon shape.

  98. Question:Is the map tag a paired tag?

    Answer:Yes, it is a paired tag.

  99. Question:What does the circle value specify?

    Answer:A circular region.

  100. Question:What does the alt attribute specify?

    Answer:Extra information about the clickable area.

  101. Question:What does the width attribute specify in an iframe?

    Answer:The width of an iframe.

  102. Question:What are companies that provide web hosting services called?

    Answer:Web hosts.

  103. Question:What is the most expensive way to publish your website?

    Answer:Buying your own web server space.

  104. Question:What does the meta tag in HTML describe?

    Answer:Some aspects of contents of a webpage.

  105. Question:What does the meta tag do for search engines?

    Answer:It helps them search information provided with the webpage.

  106. Question:What type of tag is a meta tag?

    Answer:An empty tag (singular tag) which carries information within its attributes.

  107. Question:What is CSS in HTML?

    Answer:CSS stands for Cascading Style Sheets and describes how HTML elements are displayed on screen, paper, or in other media.

  108. Question:What are the three methods of implementing CSS in an HTML document?

    Answer:1. Inline CSS 2. Embedded stylesheet (Internal CSS) 3. External CSS.

  109. Question:How is inline CSS applied?

    Answer:Using the style attribute in the HTML start tag.

  110. Question:What does the external style sheet typically allow?

    Answer:To make changes on multiple pages.

  111. Question:What is the Id selector in HTML?

    Answer:It selects the id attribute of an HTML element to select a specific element.

  112. Question:What character is used for an id selector?

    Answer:The hash character (#) followed by the id name.

  113. Question:What is the CLASS Selector in HTML?

    Answer:It selects HTML elements with a specific class attribute.

  114. Question:What character is used for a class selector?

    Answer:A period (.) followed by the class name.

  115. Question:What does the Universal Selector do?

    Answer:It selects all the elements on the webpage.

  116. Question:What is the Group Selector used for?

    Answer:To select all the elements with the same style definitions.

  117. Question:What are Image maps in HTML 5?

    Answer:An image with multiple hyperlinks, used to connect links to different regions on the webpage.

  118. Question:What are the types of Image Maps?

    Answer:Client Side and Server Side.

  119. Question:What are Inline Frames used for in HTML5?

    Answer:Often used in online advertising, allowing the incorporation to be seamless without scrollbars, borders, margins, etc.

  120. Question:What is a web host?

    Answer:Companies that provide web hosting services and manage web servers.

  121. Question:What are the types of Web hosting?

    Answer:1. Shared hosting 2. Free hosting 3. Dedicated hosting.

  122. Question:What are examples of Traditional Marketing?

    Answer:Radio, bill boards, brochures.

  123. Question:What are examples of Digital Marketing?

    Answer:YouTube videos, banners ads, websites, social media mentions.

  124. Question:What is the purpose of Search Engine Optimization (SEO)?

    Answer:To attract visitors to your website when they search for products or services related to your business.

  125. Question:What does SERP stand for?

    Answer:Search Engine Results Pages.

  126. Question:What is Pay per click advertising also referred to as?

    Answer:Paid search.

  127. Question:What does SMS, MMS, and in-app marketing refer to?

    Answer:Mobile marketing.

  128. Question:What are sponsored results?

    Answer:Paid search advertising that appears on the SERP.

  129. Question:What is meant by 'Paid' in the context of digital marketing?

    Answer:It refers to the advertiser having to pay when an ad is clicked.

  130. Question:What is the fuel that drives digital marketing strategies?

    Answer:Quality content.

  131. Question:What does social media marketing involve?

    Answer:The use of social media platforms and websites to promote a product or service.

  132. Question:What are some examples of social media platforms used for marketing?

    Answer:Facebook, Instagram, Twitter, Snapchat.

  133. Question:What is a web search engine?

    Answer:A software system that is designed to carry out web searches.

  134. Question:What important role does a search engine play?

    Answer:It plays an important role in ranking the website.

  135. Question:What does a 'crawler' do?

    Answer:It is a program used by search engines to collect data from the website.

  136. Question:What is on-page SEO?

    Answer:Changes that are visible to readers on the web page.

  137. Question:What does technical SEO refer to?

    Answer:If SEO efforts do not generate expected results, there are problems with SEO.

  138. Question:What is SEOptimer?

    Answer:A free SEO audit tool.

  139. Question:What are broken links?

    Answer:Links that send a message to its visitors that the website no longer exists.

  140. Question:What is indexing important for in SEO?

    Answer:To increase the ranking of the web pages.

  141. Question:What does Googlebot do?

    Answer:Collects documents from the web to build Google's search index.

  142. Question:What does the robots.txt file do?

    Answer:It tells the search engines which pages to access and index on your website.

  143. Question:What does acquisition mean in marketing?

    Answer:Creating interest in the mind of customers about your product.

  144. Question:What are some channels of digital marketing?

    Answer:Websites, YouTube videos, Banner ads.

  145. Question:What is the significance of quality in marketing?

    Answer:In any form of marketing, quality is the fuel that drives digital marketing strategies.

  146. Question:What are the four answer options for the MCQ regarding attracting visitors to your website?

    Answer:a. Content Marketing, b. Search Engine Optimization, c. Social Media Marketing, d. Email Marketing.

  147. Question:What is the correct answer for the question about companies communicating with their audience?

    Answer:a. Email Marketing.

  148. Question:What does SEO denote?

    Answer:The creation and promotion of content assets.

  149. Question:Which software system is designed to carry out web searches?

    Answer:b. Web search engine.

  150. Question:What does white hat SEO involve?

    Answer:Looking for ways to improve user experience ethically and genuinely.

  151. Question:How can paid advertisements of Google be identified?

    Answer:With the keyword 'Ad'.

  152. Question:What are the different SEO techniques mentioned?

    Answer:On-page SEO, Off-page SEO, Technical SEO.

  153. Question:What is the importance of a title tag in SEO?

    Answer:It tells search engines important information about your web page.

  154. Question:What is the purpose of the Google Analytics report?

    Answer:It contains sessions, bounce rate, and other metrics.

  155. Question:What are the valid approaches to SEO mentioned?

    Answer:On-page SEO, Off-page SEO, Technical SEO.

  156. Question:What are the two types of vouchers mentioned in the context of accounting software?

    Answer:Sales and Purchase.

  157. Question:What does GSTIN stand for?

    Answer:Goods and Services Tax Identification Number.

  158. Question:What is a balance sheet?

    Answer:It is a statement showing assets and liabilities of the business concern.

  159. Question:What is Tally?

    Answer:One of the most widely used financial accounting software.

  160. Question:What is the registration number allotted to every registered dealer under GST Act?

    Answer:Goods and Services Tax Identification Number.

  161. Question:What does CGST stand for?

    Answer:Central Goods and Services Tax.

  162. Question:What is the primary function of accounting software?

    Answer:To record and process accounting transactions within functional modules.

  163. Question:What is meant by 'one nation, one tax' in the context of GST?

    Answer:It refers to the Goods and Services Tax.

  164. Question:What is the purpose of the sales voucher?

    Answer:To record cash and credit sale of goods and services.

  165. Question:What does the term 'indirect tax' refer to?

    Answer:A type of tax that is not directly paid by the taxpayer.

  166. Question:What was the original development company for Google Analytics?

    Answer:Urchin.

  167. Question:What file tells search engines which pages to access on your website?

    Answer:robots.txt.

  168. Question:What is the purpose of the broken links?

    Answer:To indicate that the webpage no longer exists.

  169. Question:What is the role of a voucher in accounting software?

    Answer:It is used for recording financial transactions.

  170. Question:What is the importance of quality content in digital marketing?

    Answer:It is the fuel that drives digital marketing strategies.

  171. Question:What does the assets group contain?

    Answer:a) Investment, b) Sundry Debtor, c) Sundry Creditor, d) Stock in hand.

  172. Question:How many entries can we add in a voucher entry depending upon the transaction?

    Answer:We can add any number of entries.

  173. Question:What is the internationally accepted coding system with a vision of classifying goods all over the world?

    Answer:b) HSN (Harmonized System of Nomenclature).

  174. Question:What does the structure of GSTIN consist of?

    Answer:a) State code, c) PAN.

  175. Question:What does the accounting software process include?

    Answer:a) Creation of company, c) Creation ledger with appropriate groups, e) GST calculation.

  176. Question:What are the valid voucher types used in Tally?

    Answer:b) Receipt, d) Sales return.

  177. Question:What are the various reports generated by Tally?

    Answer:a) Trial balance, b) GST report, c) Balance sheet.

  178. Question:What are the three types of GST?

    Answer:d) CGST, e) SGST, f) IGST.

  179. Question:Which ledgers are created under the sub-group Duties and Taxes?

    Answer:c) CGST, d) IGST, e) SGST.

  180. Question:In computerized accounting, how is the transaction data stored?

    Answer:In a well-organized database.

  181. Question:What fields must be entered while creating a company?

    Answer:Name of company, address, financial year begins from, etc.

  182. Question:What is a voucher?

    Answer:A pre-numbered accounting document used for recording daily transactions.

  183. Question:What is a receipt voucher used for?

    Answer:Recording amounts received by way of cash.

  184. Question:What is a purchase voucher used for?

    Answer:Recording cash and credit purchases of goods and services.

  185. Question:What is a contra voucher used for?

    Answer:Recording rectifying entries.

  186. Question:What is a sales return voucher used for?

    Answer:Recording return of goods by a customer.

  187. Question:What is generated when goods are returned by a customer?

    Answer:Credit note.

  188. Question:What does a sales voucher record?

    Answer:All cash and credit sales transactions.

  189. Question:What is the purchase return voucher used for?

    Answer:Recording return of goods to a supplier.

  190. Question:When did GST come into effect in India?

    Answer:1st July 2017.

  191. Question:Is narration optional in Tally?

    Answer:True.

  192. Question:What does the Profit and Loss Account report give?

    Answer:The final working result of the business with Net profit or Net loss.

  193. Question:What does the Day Book contain?

    Answer:All vouchers for the day.

  194. Question:What does the GST report print?

    Answer:A summary of the GST received and paid.

  195. Question:In which year did Tally Solutions introduce the software Tally ERP 9?

    Answer:2001.

  196. Question:What key combination is used in Tally to delete ledger, group or voucher?

    Answer:CTRL D.

  197. Question:Which country was the first to implement GST?

    Answer:Germany in 1954.

  198. Question:What are services defined as?

    Answer:Activities provided by other people like doctors, consultants, chartered accountants, etc.

  199. Question:What does GSTIN stand for?

    Answer:Goods and Services Tax Identification Number.

  200. Question:What is the GSTIN format based on?

    Answer:15 digit PAN based registration number.

Showing the first 200 of 394 cards. Open All cards to see the rest.