HTML5 Application Development Fundamentals Flashcards
6 cards from real MTA practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 HTML5 Application Development Fundamentals flashcards as text
Which HTML5 element is used to draw graphics and animations using JavaScript?
Answer:
The element provides a bitmap drawing surface that JavaScript can use to render 2D graphics, animations, games, and data visualizations.
What does the HTML5 doctype declaration do?
Answer: Tells the browser to render the page in HTML5 standards mode
The declaration instructs the browser to use the HTML5 specification and render the page in standards mode rather than quirks mode.
Which CSS property is used to control the layout of child elements in a flex container?
Answer: display: flex
Setting display: flex on a container element activates CSS Flexbox, enabling flexible one-dimensional layouts and alignment control over child elements.
What is the purpose of the HTML5 localStorage API?
Answer: Storing key-value data persistently in the browser with no expiration
localStorage allows web applications to store key-value pairs in the browser persistently with no expiration date, surviving browser sessions and restarts.
Which HTML5 input type is used to collect email addresses with built-in validation?
Answer:
The email input type provides browser-level validation ensuring the entered value matches an email format, and shows a suitable keyboard on mobile devices.
What is the Document Object Model (DOM) in web development?
Answer: A programming interface representing the HTML document as a tree of objects that scripts can manipulate
The DOM is a tree-structured programming interface that represents an HTML document's elements as objects, allowing JavaScript to dynamically read and modify content and structure.