MCSD Exam

FREE MCSD Programming in HTML5 Questions and Answers

0%

You are styling a box object on a page by using CSS3.
You need to set the transparency of the object to 50%.
Which two CSS3 styles will achieve the goal? (Each correct answer presents a complete solution. Choose two.)

Please select 2 correct answers

Correct! Wrong!

The RGBA declaration allows you to set opacity (via the Alpha channel) as part of the color value.

You are developing a web page that will be divided into three vertical sections. The main content of the site will be placed in the center section. The two outer sections will contain advertisements.
You have the following requirements:
> The main content section must be set to two times the width of the advertising sections.
> The layout must be specified by using the CSS3 flexible box model.
You need to ensure that the visual layout of the page meets the requirements.
Which CSS3 property should you use?

Correct! Wrong!

You are developing an HTML5 page. The page includes the following code.
The inner paragraph must be exactly 15 pixels from the top left corner of the outer paragraph. You set the left style for the inner paragraph to the appropriate value.
You need to set the position property of the inner paragraph.

Which value should you use?

Correct! Wrong!

Absolute: The element is positioned relative to its first positioned (not static) ancestor element.

You are developing an HTML5 web application and are styling text.
You need to use the text-transform CSS property.
Which values are valid for the text-transform property?

Correct! Wrong!

You are developing a web page that has a group of H1 and H2 elements. The page also includes a CSS class named underlineMe.
You have the following requirements:
> The font color of all H1 and H2 elements must be changed to red
> The CSS class underlineMe must be applied to all H1 and H2 elements
You need to update the web page to meet the requirements

Which code segment should you use?

Correct! Wrong!

You are developing a web page by using HTML5
You have the following requirements:
An H1 element must be placed at the top left corner of the page
The size and location of the H1 element must not change if additional elements are added to the page
You need to position the H1 element on the page
Which CSS3 style should you use?

Correct! Wrong!

The position property specifies the type of positioning method used for an element (static, relative, absolute, or fixed). absolute: The element is positioned relative to its first positioned (not static) ancestor element.

For absolutely positioned elements, the left property sets the left edge of an element to a unit to the left/right of the left edge of its containing element.

AppCache API event fired when downloading
Answer: ondownloading

Correct! Wrong!