Microsoft Programming in HTML5 with JavaScript and CSS3 70-480 Exam Questions

Page: 1 / 14
Total 292 questions
Question 1

You are developing a web page that includes the following HTML.

Hello There!

The font color of text inside the span must be red.

You need to develop the web page to meet the requirement.

Which two CSS segments will achieve the goal? (Each correct answer presents a complete solution. Choose two.)



Answer : A, C

You can refer to class, by .redText, or the span, by span#myTextSpan.


Question 2

You have a web page that contains the following markup.

You need to ensure that css1.css is used only when the current browser width is less than 800px.

Which markup should you add to the web page?



Answer : A


Question 3

You are modifying a blog site to improve search engine readability.

You need to group relevant page content together to maximize search engine readability.

Which tag should you use?

Answer : A

The <section> tag defines sections in a document. Such as chapters, headers, footers, or any other sections of the document.


Question 4

You are modifying a blog site to improve search engine readability.

You need to group relevant page content together to maximize search engine readability.

Which tag should you use?



Answer : A

How the Changes in HTML 5 Will Affect SEO (Search Engine Optimization)?

As a SEO expert, you are most likely interested mainly in those changes in the HTML 5 specification, which will affect your work. Here is one of them:

A new

tag. The new
tag is probably the best addition from a SEO point of view. The
tag allows to mark separate entries in an online publication, such as a blog or a magazine. It is expected that when articles are marked with the
tag, this will make the HTML code cleaner because it will reduce the need to use
tags. Also, probably search engines will put more weight on the text inside the
tag as compared to the contents on the other parts of the page.


Question 5

You are developing a page that includes text and an illustration. The web page resembles the following image.

You have the following requirements:

The illustration must be in the center of the page.

The text must flow around the left, right, top, and bottom of the illustration.

You need to ensure that the layout of the web page meets the requirements.

Which line of code should you use?



Answer : A

. -ms-wrap-flow

Gets or sets a value that specifies how exclusions impact inline content within block-level elements.

Syntax

-ms-wrap-flow: auto | both | start | end | maximum | clear

both

Inline flow content can flow on all sides of the exclusion.


http://msdn.microsoft.com/en-us/library/ie/hh673558(v=vs.85).aspx

http://dev.w3.org/csswg/css3-exclusions/

Question 6

You are modifying a blog site to improve search engine readability.

You need to group relevant page content together to maximize search engine readability.

Which tag should you use?

Answer : B

The

Question 7

You are creating a blog site by using HTML5 and JavaScript. An inline frame enables users to post comments. It is possible for users to inject malicious scripts into their comments.

You need to minimize the ability for malicious scripts to execute on the site.

Which line of code should you use?



Answer : A

The sandbox attribute enables an extra set of restrictions for the content in the iframe.

Syntax

<iframe sandbox='value'>

Attribute Values

no value: Applies all restrictions

etc.

No attribute value: allowscripts (not D)


Page:    1 / 14   
Total 292 questions