Free 98-383: Introduction to Programming Using HTML and CSS Exam Questions and Answers
Introduction to Programming Using HTML and CSS is exam 98-383, part of Microsoft Certifications. Microsoft exam codes name the solution area rather than the level — AZ for Azure, DP for data, MS for Microsoft 365, PL for Power Platform, SC for security, AI for Azure AI — with one reliable rule: any exam numbered 900 or 901 is Fundamentals. Every technical exam is scored from 1 to 1000 with 700 to pass, a scaled score Microsoft notes is explicitly not 70% of the marks.
Looking for 98-383 exam dumps or ExamTopics 98-383 questions? These 98-383 practice questions cover the same ground with verified answers and explanations, a downloadable 98-383 PDF and a full 98-383 practice test, kept current as Microsoft updates the exam.
Last updated: October 20, 2026
- Exam code
- 98-383
- Provider
- Microsoft
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Official page
- Official Exam website
- Our test mode duration & pass mark
- 130 mins · 70%
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. A CSS comment begins with /* and ends with */. 2. A CSS comment can begin with // and continue to the end of the line. 3. The declaration font-family: Arial, Helvetica, sans-serif; lets the browser use a later font in the list when an earlier one is not available.
Answer each statement, then reveal.
- A CSS comment begins with /* and ends with */.Not answered
- A CSS comment can begin with // and continue to the end of the line.Not answered
- The declaration font-family: Arial, Helvetica, sans-serif; lets the browser use a later font in the list when an earlier one is not available.Not answered
Correct answer: Yes · No · Yes
Explanation
CSS comments use only the /* ... */ syntax. The // style belongs to languages such as JavaScript and is not a valid CSS comment. A font-family list works as a fallback chain, and ending it with a generic family such as sans-serif is good practice.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #2
You are styling a div element that has the class card. The element must show a 2px solid dark gray (#333) border with 8px rounded corners. Which rule set should you use?
Correct answer: A
Explanation
The border shorthand needs a border-style value such as solid, or no border is drawn. border-radius is the property that rounds corners; corner-radius does not exist. Setting only border-width and border-color leaves the style at its default of none.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #3
Which two elements are the direct children of the html element in a well-formed HTML document? (Choose two.)
Select 2 answers.
Correct answer: B, C
Explanation
The html element contains one head element, which holds metadata, followed by one body element, which holds the visible content. The title element sits inside head, and header is a semantic element used inside body.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #4
You are creating a page that contains characters such as é and ñ. In some browsers these characters appear as unreadable symbols. You need to declare UTF-8 encoding. Which markup should you add to the head element?
Correct answer: D
Explanation
The charset attribute on a meta element declares the character encoding directly. Using name="charset" or name="encoding" creates ordinary metadata that browsers do not use to decode the page.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #5
What is the purpose of the <!DOCTYPE html> declaration at the top of an HTML5 document?
Correct answer: A
Explanation
The DOCTYPE declaration tells the browser which document type to use, so the page is rendered in standards mode rather than quirks mode. It is not an element and holds no title, encoding or script information.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #6
A news page lists three stories. Each story has a heading, a byline and body text, and could be republished on another site without the rest of the page. You need to mark up each story. Which element should you use?
Correct answer: A
Explanation
The article element represents self-contained content that makes sense on its own, such as a news story. Section groups related content within a page and is not meant for independently distributable items. Aside is for tangential content, and figure is for illustrations with captions.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #7
Which two values are valid for the type attribute of the input element? (Choose two.)
Select 2 answers.
Correct answer: B, D
Explanation
HTML5 defines number and date as input types. There are no integer or currency types, so a browser treats those values as the default text type.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #8
You are creating a price table. The last row contains a cell labeled Total that must stretch across the first two columns. Which markup should you use for that cell?
Correct answer: A
Explanation
The colspan attribute makes a cell span multiple columns. The rowspan attribute spans rows instead, and span and cols are not valid attributes on td.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #9
You are building a news page. A box beside the main story contains a pull quote and links to related stories. The content is only tangentially related to the story. Which element should you use?
Correct answer: D
Explanation
The aside element holds content that is tangential to the content around it, such as sidebars and pull quotes. The article element is for self-contained content, and section groups thematically related content that belongs to the main flow.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #10
The following rule is applied to a div element. The page does not set the box-sizing property. div { width: 240px; padding: 15px; border: 4px solid #333; margin: 12px; } How much total horizontal space does the div occupy, including its margins?
Correct answer: D
Explanation
With the default content-box model, width excludes padding, border and margin. Horizontal space is 240 + 15 + 15 (padding) + 4 + 4 (border) + 12 + 12 (margin) = 302px. 278px leaves out the margins.
Continue with 98-383: Introduction to Programming Using HTML and CSS
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-383: Introduction to Programming Using HTML and CSS, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterOther Microsoft certifications
- AZ-500: Microsoft Azure Security Technologies (opens in a new tab)
- MS-101: Microsoft 365 Mobility and Security (opens in a new tab)
- MS-102: Microsoft 365 Administrator (beta) (opens in a new tab)
- MS-100: Microsoft 365 Identity and Services (opens in a new tab)
- PL-900: Microsoft Power Platform Fundamentals (opens in a new tab)
- AZ-305: Designing Microsoft Azure Infrastructure Solutions (opens in a new tab)
- MS-900: Microsoft 365 Fundamentals (opens in a new tab)
- AZ-400: Microsoft Azure DevOps Solutions (opens in a new tab)
- AZ-900: Microsoft Azure Fundamentals (opens in a new tab)
- 70-740: Installation, Storage, and Compute with Windows Server 2016 (opens in a new tab)
- MD-102: Endpoint Administrator (beta) (opens in a new tab)
- PL-300: Microsoft Power BI Data Analyst (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://learn.microsoft.com/en-us/credentials/
- Q1: What is the 98-383: Introduction to Programming Using HTML and CSS exam?
- A: 98-383: Introduction to Programming Using HTML and CSS is a Microsoft certification exam. Judging by the questions in our bank, it concentrates on webpage and responsive.
- Q2: How should I prepare for 98-383: Introduction to Programming Using HTML and CSS?
- A: Work through the 98-383: Introduction to Programming Using HTML and CSS practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q3: Are these real 98-383: Introduction to Programming Using HTML and CSS exam questions?
- A: They are drawn from officially released past questions and from community members who have sat 98-383: Introduction to Programming Using HTML and CSS. Answers are verified and updated weekly.
- Q4: Where do I register for the 98-383: Introduction to Programming Using HTML and CSS exam?
- A: Register through Microsoft directly at https://learn.microsoft.com/en-us/credentials/. Exampractice is not affiliated with Microsoft and does not administer the exam.
- Q5: Is there a free 98-383: Introduction to Programming Using HTML and CSS sample?
- A: Yes. Every 98-383: Introduction to Programming Using HTML and CSS page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q6: What are Microsoft Certification Exams?
- A: Microsoft Certification Exams validate your expertise in using and managing Microsoft’s technologies and solutions, including Azure, Office 365, Windows, and more. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Microsoft products to support business operations and IT infrastructure.
- Q7: Why should I pursue Microsoft Certification?
- A: Microsoft Certification enhances your professional credibility, showcasing your skills and knowledge in Microsoft technologies. This can lead to better job opportunities, higher salaries, and career advancement in IT, cloud computing, software development, and related fields.
- Q8: What are the benefits of Microsoft Certification?
- A: Benefits include recognition as a certified Microsoft professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Microsoft technologies and best practices.
- Q9: Who should take Microsoft Certification Exams?
- A: IT professionals, system administrators, developers, cloud engineers, data analysts, and anyone involved in managing and implementing Microsoft solutions should consider these certifications to validate their expertise and advance their careers.
- Q10: What types of Microsoft Certification Exams are available?
- A: Microsoft offers various certification paths, including:
- Q11: How do I prepare for Microsoft Certification Exams?
- A: Preparation can include official Microsoft training courses, study guides, practice exams, online tutorials, and hands-on experience with Microsoft products and solutions.
- Q12: Where can I take Microsoft Certification Exams?
- A: Microsoft Certification Exams can be taken online with remote proctoring or at authorized Pearson VUE testing centers worldwide, providing flexibility to fit your schedule and location.
- Q13: How do Microsoft Certifications impact my career?
- A: Microsoft Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in IT, cloud computing, software development, and other tech-related fields.
- Q14: Are there any prerequisites for Microsoft Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Microsoft products. Check the specific requirements for each certification path on the Microsoft Learn website.
- Q15: How often do I need to recertify for Microsoft Certifications?
- A: Microsoft Certifications typically require renewal every year or two, depending on the certification, to ensure that certified professionals stay updated with the latest technologies and industry practices.



