[Free] Get all latest Microsoft 98-375 Actual Tests 51-60

Ensurepass

QUESTION 51

Which two semantic tags are used to define layouts in HTML5? (Choose two.)

 

A.

<footer>

B.

<head>

C.

<progress:

D.

<section>

 

Correct Answer: AD

Explanation:

New Semantic Elements in HTML5

Many of existing web sites today contains HTML code like this: <div id=”nav”>, <div class=”header”>, or <div id=”footer”>, to indicate navigation links, header, and footer.

 

HTML5 offers new semantic elements to clearly define different parts of a web page:

 

<header>

<nav>

<section>

<article>

<aside>

<figcaption>

<figure>

<footer>

 

Note:

A semantic element clearly describes its meaning to both the browser and the developer.

 

Examples of non-semantic elements: <div> and <span> – Tells nothing about its content.

 

Examples of semantic elements: <form>, <table>, and <img> – Clearly defines its content.

 

 

QUESTION 52

Which two HTML5 tags format text content only? (Choose two.)

 

A.

<map>

B.

<strong>

C.

<canvas>

D.

<em>

 

Correct Answer: BD

Explanation:

Example:

I can <em>not</em>emphasise this enough!

 

 

QUESTION 53

In HTML5, the autofocus attribute:

 

A.

defines the cursor location when a form is first accessed.

B.

controls the movement between fields in a form.

C.

adds a default value to the field in a form.

D.

enables one field and disables all others.

 

Correct Answer: A

 

 

QUESTION 54

Which two tags are used with the HTML5 TABLE element? (Choose two.)

 

A.

<body>

B.

<tfoot>

C.

<td>

D.

<head>

 

Correct Answer: BC

Explanation:

An HTML table consists of the <table> element and one or more <tr>, <th>, and <td> elements.

 

The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell.

 

A more complex HTML table may also include <caption>, <col>, <colgroup>, <thead>, <tfoot>, and <tbody> elements.

 

 

QUESTION 55

Which code shows the correct way to nest tags in HTML5?

 

clip_image001

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

 

 

QUESTION 56

Which JavaScript method is used to draw a circle on a canvas?

 

A.

ellipse

B.

circle

C.

bezierCurveTo

D.

arc

 

Correct Answer: D

 

 

QUESTION 57

Which code fragment will display an image file while the video is downloading?

 

clip_image002

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: B

 

 

QUESTION 58

Which term describes the canvas API?

 

A.

xml-based

B.

vector-based

C.

retained-mode

D.

immediate-mode

 

Correct Answer: D

 

 

QUESTION 59

Which three generic font family names are valid values of the font-family property in CSS? (Choose three.)

 

A.

cursive

B.

system

C.

serif

D.

fixed

E.

fantasy

 

Correct Answer: ACE

Explanation:

There are five generic fonts: serif, sans-serif, monospace, cursive and fantasy.

 

Note:

There are two types of font family names:

 

family-name – The name of a font-family, like “times”, “courier”, “arial”, etc.

generic-family – The name of a generic-family, like “serif”, “sans-serif”, “cursive”, “fantasy”, “monospace”.

 

 

QUESTION 60

DRAG DROP

Match the CSS terms to the corresponding CSS code examples. (To answer, drag the appropriate CSS term from the column on the left to its CSS code example on the right. Each CSS term may be used once, more than once, or not at all. Each correct match is worth one point.)

 

clip_image004

 

Correct Answer:

clip_image006

 

Instant Access to Download Testing Software & PDF File for Microsoft 98-375 Real Exam

Instant Access to Try Microsoft 98-375 Free Demo