microsoft 98-383 practice test

Exam Title: Introduction to Programming Using HTML and CSS

Last update: Nov 18 ,2025
Question 1

This question requires that you evaluate the underlined text to determine if it is correct.
You are reviewing a stylesheet created be a member of your team. The stylesheet includes a style that is defined as follows:

You apply the productBox style to a
The
Review the underlined text. If it makes the statement correct, select No change is needed. If the statement is incorrect,
select the answer choice that makes the statement correct.

  • A. No change is needed.
  • B. white text on a red background.
  • C. black text on a green background.
  • D. black text on a blue background.
Answer:

C


Explanation:
References: https://www.w3schools.com/colors/colors_shades.asp

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 2

HOTSPOT
You are designing a webpage that tests a users ability to remember a list of ordered items in a particular category. The page
must contain a header that displays the category and a list of items in that category. An example is shown in the exhibit.
(Click the Exhibit tab.)
Exhibit
Fruit
1. Apple
2. Pear
3. Orange
This page will test your ability to remember the order of the preceding items.
Glance at the list for 3 seconds.
Then close your eyes and recite the items in the order listed.

How should you complete the markup? To answer, select the appropriate markup segment in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:


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

Comments
Question 3

HOTSPOT
You need to display an image of an HTML5 logo in one of your webpages. If the page renders slowly, the text HTML Icon
should display as the image loads.
How should you complete the markup? The answer, select the appropriate markup segments in the answer area.
Hot Area:

Answer:


Explanation:
References: https://www.w3schools.com/tags/att_img_width.asp

Comments
Question 4

DRAG DROP
You need to identify the parts of the CSS box model that define an elements 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:


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

Comments
Question 5

DRAG DROP
You are creating a web page that displays a How-To video. When accessing the video, the user must be able to play, pause,
and seek. The file name of the video is HowTo.mp4, and exists in the same folder as the webpage.
If the users browser does not support HTML5, the page must display this message: Your browser does not support playing
this video.
How should you construct the markup? To answer, drag the appropriate markup segments to the correct locations. Each
markup 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.
Select and Place:

Answer:


Explanation:
References: https://www.w3schools.com/tags/tag_video.asp

Comments
Question 6

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:


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

Comments
Question 7

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


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

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 8

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


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

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 9

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


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

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 10

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:


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

Comments
Question 11

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:


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

Comments
Question 12

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 attributevalue 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:


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

Comments
Question 13

DRAG DROP
You need to create a stylesheet that will cause all h1 header text to appear in blue, using the Arial font with a size of 20
pixels. The text should always be bold and center-aligned.
How should you complete the code? To answer, drag the appropriate CSS property to the correct locations. Each property
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:


Explanation:
References: https://www.w3schools.com/cssref/default.asp

Comments
Question 14

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.
On mobile browsers, or those with a screen width of less than 768 pixels you want to display a welcome background image
named SmalLogo.png. On all other browsers, you want to display a welcome background image named NormalLogo.png.
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:


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

Comments
Question 15

HOTSPOT
You are creating an HTML document that displays a list of news articles.
The list has the following requirements:
Each article must be its own semantic block.
Each article must have a headline.
Each article must have a section that contains its content.
For browsers that support the feature, the content must be hidden until the user clicks to reveal it.
The following shows how the article displays when the article content is hidden:

The following shows how the article displays when the article content is displayed:

You need to create the markup for an article.
How should you complete the markup? To answer, select the appropriate markup segments in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:


Explanation:
References: https://www.w3schools.com/tags/tag_details.asp https://www.w3schools.com/tags/tag_article.asp

Comments
Page 1 out of 2
Viewing questions 1-15 out of 40
Go To
page 2