Introduction to Programming Using HTML and CSS v1.0

Page:    1 / 3   
Exam contains 43 questions

HOTSPOT -
The external stylesheet named mystyles.css contains the following three rules.


The head section of a webpage contains the following markup:

The following elements appear within the body of the webpage:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point
Hot Area:



Answer :

References: https://www.w3schools.com/css/css_howto.asp

Analyze the following CSS for a webpage:


What is the resulting background color of the paragraph element?

  • A. Pink
  • B. Blue
  • C. Yellow
  • D. Green


Answer : A

References: https://www.w3schools.com/tags/tag_div.asp

You are building a website and want to have three main links called Home, Product Info, and Contact Us. You will create a hierarchy of page elements and revise the stylesheets.
You want to apply a style to all elements in a document.
Which type selector should you use?

  • A. +
  • B. >
  • C. :
  • D. *


Answer : D

References: https://www.w3schools.com/cssref/sel_all.asp

DRAG DROP -
You are designing a website for Margie"™s Travel. The website uses external stylesheets.
You need to create a style that centers all h1 elements on the page.
How should you complete the code? To answer, drag the appropriate code segment to the correct location in the code. Each code segment may be used once, more than once or not at all. You may need to drag the split bar between panes or scroll to view content. text-align center h1 = : ; .h1
Select and Place:




Answer :

References: https://www.w3schools.com/css/css_syntax.asp

HOTSPOT -
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:




Answer :

References:
https://www.xanthir.com/b4U10
https://www.w3.org/Style/Examples/007/units.en.html
https://www.w3schools.com/css/css_font.asp

HOTSPOT -
You define the following styles in a style block:


You write the following HTML:

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the CSS style and markup.
NOTE: Each correct selection is worth one point.
Hot Area:



Answer :

References: https://www.w3schools.com/html/html_css.asp

DRAG DROP -
You are creating a website for Northwind Traders appear on the browser tab. There will also be a paragraph that greets users to the site.
You need to crate the structure of the website.
In which order should you arrange the markup segments to develop the solution? To answer, move all markup segments from the list of markup segments to the answer area and arrange them in the correct order.
Select and Place:




Answer :

References: https://www.w3schools.com/howto/howto_make_a_website.asp

DRAG DROP -
You are creating a simple HTML page that displays the text, Hello World. You must ensure that the markup is well-formed and conforms to industry best practices.
How should you construct the page? To answer, drag the appropriate HTML tags to the correct HTML tags to the correct HTML tag locations. Each tag may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:




Answer :

References: https://www.w3schools.com/tags/tag_body.asp

DRAG DROP -
You are designing a webpage for Contoso by using HTML.
You need to create content for the head section.
Which four markup segments should you use? To answer, move the appropriate markup segments from the list of markup segments to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:




Answer :

References: https://www.w3schools.com/html/html_head.asp

DRAG DROP -
You are creating a home page for Blue Yonder Airlines. The page will use JavaScript. If a browser does not support JavaScript, the following message must be displayed:
Your browser does not support JavaScript!
For the Blue Yonder Airlines home page, match the metadata element to the content or attribute-value pair. To answer, drag the appropriate metadata element form the column on the left to its content or attribute-value pair on the right. Each metadata element may be used once, more than once, or not at all.
NOTE: Each correct selection is worth one point.
Select and Place:




Answer :

References: https://www.w3schools.com/tags/default.asp

HOTSPOT -
For each of the following markup segments, select Yes if the HTML element belongs in the head block. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:




Answer :

References: https://www.w3schools.com/tags/tag_head.asp

DRAG DROP -
You need to identify the parts of the CSS box model that define an element"™s dimensions.
To answer, drag the appropriate part to the correct area. Each part may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point
Select and Place:




Answer :

References: https://www.w3schools.com/css/css_boxmodel.asp

DRAG DROP -
You are defining CSS classes to style text in your HTML document.
You need to format section titles to look like the following example:


Which CSS attributes should you use to define each setting? To answer, drag the appropriate attribute from the column on the left to its setting on the right. Each attribute may be used once, more than once, or not at all.
Select and Place:



Answer :

References: https://www.w3schools.com/css/css_font.asp

Which CSS property is used to draw a line over text, through text, or under text?

  • A. font-family
  • B. font-style
  • C. text-overflow
  • D. text-decoration


Answer : D

References: https://www.w3schools.com/cssref/pr_text_text-decoration.asp

HOTSPOT -
You are designing a webpage for your company. The page must be responsive so that it can be viewed on both mobile and desktop browsers.
[1]
[1]
How should you complete the code? To answer, select the appropriate code segment in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:




Answer :

References: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp

Page:    1 / 3   
Exam contains 43 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy