Free 98-375: HTML5 App Development Fundamentals Exam Questions and Answers
HTML5 App Development Fundamentals is exam 98-375, 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.
Candidates comparing 98-375 exam dumps, ExamTopics and other 98-375 practice tests use this page for the answers and explanations behind each question. Download the free 98-375 PDF, then sit the timed 98-375 exam simulation before booking with Microsoft.
Last updated: November 6, 2026
- Exam code
- 98-375
- 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
You are developing an HTML5 app. The variable msg contains the string "<b>Saved</b>". A div element with the id result must display the word Saved in bold type. Which code segment should you use?
Correct answer: C
Explanation
The innerHTML property parses the assigned string as markup, so the b element is created and the word is rendered in bold. The textContent property is the tempting choice, but it treats the string as plain text and would show the literal tags. The value and nodeValue properties do not change the content of a div element.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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 reviewing the JavaScript code of an HTML5 app. Match each JavaScript statement to its purpose. Each statement may be used once. Statements: A. "use strict"; B. try { } catch (e) { } C. JSON.stringify(obj) D. JSON.parse(text) Purposes: 1. Converts an object into a string so that it can be saved 2. Causes assignment to an undeclared variable to throw an error 3. Handles a runtime exception without stopping the script 4. Converts a string of JSON into an object
Put the items in order, then reveal.
- 1.Drop here
- 2.Drop here
- 3.Drop here
- 4.Drop here
Correct answer: 1 = C; 2 = A; 3 = B; 4 = D
Explanation
JSON.stringify serializes an object to a string, and JSON.parse does the reverse. The "use strict" directive turns on strict mode, which throws an error when an undeclared variable is assigned. A try...catch block traps a runtime exception so the script can continue.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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
You are formatting the text content of an HTML5 page. Match each HTML5 element to the content it should mark up. Each element may be used once. Elements: A. <mark> B. <abbr> C. <time> D. <blockquote> Content: 1. A long quotation taken from another source 2. A date that must also be available in a machine-readable form 3. Text that is highlighted for reference 4. An abbreviation whose full form appears in a tooltip
Put the items in order, then reveal.
- 1.Drop here
- 2.Drop here
- 3.Drop here
- 4.Drop here
Correct answer: 1 = D; 2 = C; 3 = A; 4 = B
Explanation
The blockquote element holds an extended quotation, and time carries a date or time that can be given in a machine-readable datetime attribute. The mark element highlights text for reference, and abbr uses its title attribute to show the full form of an abbreviation.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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
An h2 element in a fixed-width container holds a title that is longer than the container. The title must stay on one line, and the overflow must be hidden and replaced with an ellipsis. Which CSS rule set should you use?
Correct answer: A
Explanation
The text-overflow property only draws an ellipsis when the text cannot wrap and the overflow is not visible, so white-space: nowrap and overflow: hidden are both required. Rule sets that allow wrapping, leave the overflow visible or use clip do not produce an ellipsis.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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
You are developing an HTML5 app that stores a user's unsaved form entries in the browser. The stored data must be removed automatically when the user closes the browser tab. Which storage mechanism should you use?
Correct answer: B
Explanation
sessionStorage keeps data only for the lifetime of the tab, so it is cleared when the tab is closed. localStorage, indexedDB and a cookie with a future expiration date all persist after the tab is closed.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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
You are adding client-side validation to a form in an HTML5 app. Match each attribute to the behavior it provides. Each attribute may be used once. Attributes: A. required B. pattern C. placeholder D. max Behaviors: 1. Compares the entered value with a regular expression 2. Displays hint text in the field until the user types 3. Prevents the form from being submitted when the field is empty 4. Sets the highest numeric value that the field accepts
Put the items in order, then reveal.
- 1.Drop here
- 2.Drop here
- 3.Drop here
- 4.Drop here
Correct answer: 1 = B; 2 = C; 3 = A; 4 = D
Explanation
The pattern attribute validates the value against a regular expression, and required blocks submission of an empty field. The max attribute sets the upper numeric limit. The placeholder attribute only displays a hint and does not validate anything.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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
You are developing an HTML5 app for devices that accept input from a mouse, a pen and a finger. You need to run one event handler when the user presses down with any of these input devices. Which event should you handle?
Correct answer: C
Explanation
Pointer events unify mouse, pen and touch input, so a single pointerdown handler covers all three. The mousedown event is not raised for pen and finger input in every case, and touchstart responds only to touch. The gesturestart event is a multi-touch gesture event, not a general press event.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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 developing an HTML5 app. You need to run initialization code as soon as the HTML document has been fully parsed, without waiting for images and stylesheets to finish loading. Which event should you handle on the document?
Correct answer: D
Explanation
DOMContentLoaded fires when the HTML has been parsed and the DOM is built, before external resources such as images finish loading. The load event is the tempting choice, but it waits for all resources, so initialization would be delayed.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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
Which HTML5 element represents a self-contained composition, such as a news story, that could be distributed independently of the rest of the page?
Correct answer: A
Explanation
The <article> element wraps content that makes sense on its own, such as a story or blog entry. <section> groups thematically related content within a document but is not meant to stand alone.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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
You are creating a form with a text box for a city name. The text box must suggest the values Oslo and Lima as the user types, but the user must still be able to enter any other city. Which markup should you use?
Correct answer: C
Explanation
An <input> whose list attribute matches the id of a <datalist> shows suggestions while still accepting free text. Matching the name attribute to the id does not link the two elements, and a <select> restricts the user to its listed values.
Continue with 98-375: HTML5 App Development Fundamentals
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 98-375: HTML5 App Development Fundamentals, 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-375: HTML5 App Development Fundamentals exam?
- A: 98-375: HTML5 App Development Fundamentals is a Microsoft certification exam. Judging by the questions in our bank, it concentrates on html5, responsive, javascript and images.
- Q2: What topics does the 98-375: HTML5 App Development Fundamentals exam cover?
- A: Questions in our 98-375: HTML5 App Development Fundamentals bank cluster around html5, responsive, javascript and images. Working through the full set is the quickest way to find which of these you are weakest on.
- Q3: How should I prepare for 98-375: HTML5 App Development Fundamentals?
- A: Work through the 98-375: HTML5 App Development Fundamentals 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.
- Q4: Are these real 98-375: HTML5 App Development Fundamentals exam questions?
- A: They are drawn from officially released past questions and from community members who have sat 98-375: HTML5 App Development Fundamentals. Answers are verified and updated weekly.
- Q5: Where do I register for the 98-375: HTML5 App Development Fundamentals 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.
- Q6: Is there a free 98-375: HTML5 App Development Fundamentals sample?
- A: Yes. Every 98-375: HTML5 App Development Fundamentals page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q7: 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.
- Q8: 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.
- Q9: 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.
- Q10: 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.
- Q11: What types of Microsoft Certification Exams are available?
- A: Microsoft offers various certification paths, including:
- Q12: 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.
- Q13: 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.
- Q14: 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.
- Q15: 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.
- Q16: 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.



