COPA Module 10: Web Design Concepts (HTML & CSS) – all 25 MCQ questions with answers
What is the correct HTML syntax for adding a background color in a webpage?
Answer: <body bgcolor="yellow"> – The bgcolor attribute of <body> sets the page background colour.
Which is an attribute of <Table> tag?
Answer: CELLPADDING – CELLPADDING sets the space between the cell border and its content in a table.
What will happen if height and width of a video is not set while loading?
Answer: Page flickers – Without width and height the browser re-adjusts the layout while loading, so the page flickers.
What is the first tag in html document?
Answer: <html> – Every HTML document starts with the <html> tag (after the DOCTYPE).
Which is a free WordPress domain name provided to WordPress.com users?
Answer: yousite.WordPress.com – WordPress.com gives free sub-domains like yoursite.wordpress.com.
Which HTML tag makes a text bold?
Answer: <b> – <b> makes text bold (<strong> also gives bold with importance).
Which publishes a webpage to a web hosting server?
Answer: Kompozer – KompoZer is a web editor with a built-in FTP publisher to upload pages to a server.
What are the two main parts available in html document?
Answer: Head and Body – An HTML document has two main parts: <head> (information) and <body> (visible content).
What is the other name for web address?
Answer: URL – A web address is called a URL (Uniform Resource Locator).
What is node in Drupal?
Answer: Piece of individual content as a page, poll – In Drupal, a node is a single piece of content such as a page, article or poll.
Which HTML tag displays power in the expression (A+B)²?
Answer: <sup> – <sup> shows superscript (powers like ²); <sub> shows subscript (like H₂O).
What is the correct html code for inserting a background image?
Answer: <body background = “image.jpg”> – The background attribute of <body> sets a background image: <body background="image.jpg">.
Which tag creates a checkbox in a form in html?
Answer: <input type = “check box”> – A checkbox is created with <input type="checkbox">.
How do you add a link that allows the visitor to send an email from the page?
Answer: <a href = “mailto : youraddress”> – A mailto: link opens the visitor's email program: <a href="mailto:you@mail.com">.
Which of the following HTML code is valid?
Answer: <font color="red"> – The correct attribute spelling is color (American), so <font color="red"> is valid.
Which web page contains the controls while interacting with user?
Answer: Dynamic – Dynamic web pages change and respond to user actions (forms, logins, controls).
What are the unchangeable web pages called?
Answer: Static – Static web pages show the same fixed content to every visitor.
Which tag is used to create a combo box?
Answer: <select> – <select> with <option> tags creates a drop-down (combo) box.
What is the full form of CSS?
Answer: Cascading Style Sheet – CSS = Cascading Style Sheets – controls colours, fonts and layout of web pages.
Which is the correct syntax for adding alternate text for image, if the image cannot be displayed?
Answer: <img src = “boat.gif” alt = “big boat”/> – The alt attribute gives alternate text shown when the image cannot load.
Which is correct about <label> tag in HTML?
Answer: Increase the clickable area of FORM elements – Clicking a <label> also selects its form field, increasing the clickable area.
Which of the following CSS property sets the background image of an element?
Answer: background-image – background-image: url("img.jpg"); sets the background image of an element in CSS.
Which tag is use for AUDIO in HTML?
Answer: <audio> – HTML5 uses the <audio> tag to play sound files.
What is the correct syntax for making a hyperlink?
Answer: <a href = “http:// nimi.gov.in”>nimi</a> – A hyperlink uses <a href="URL">link text</a>.
What is the full form of WYSIWYG?
Answer: What you see is what you get – WYSIWYG = What You See Is What You Get – the screen looks like the final output.