Understanding HTML5
Which of the following best describes HTML5?
- A combination of HTML, CSS, and JavaScript that provides the latest features for modern web development.
- A programming language that adds logic to web pages.
- A set of stylesheets used for website layouts.
- An image editing software for the web.
- A type of database system for web applications.
HTML Element Types
Which of the following HTML elements is considered a void element (an element without a closing tag)?
- u003Cdivu003E
- u003Cspanu003E
- u003Cimgu003E
- u003Csectionu003E
- u003Ctableu003E
Metadata Placement
In an HTML document, where do metadata, such as the document title and imports for external stylesheets, usually go?
- Inside the u003Cbodyu003E tag
- In the u003Cfooteru003E section
- Inside the u003Cheadu003E tag
- Within the u003Cnavu003E tag
- Between u003Cmainu003E tags
HTML Headings
What is the most important heading tag in HTML that defines the main title or topic?
- u003Ch1u003E
- u003Ch3u003E
- u003Ch6u003E
- u003Ch5u003E
- u003Ch2u003E
Semantic Elements
Which HTML5 element is specifically used to mark or highlight text due to its relevance, such as in search results?
- u003Cbu003E
- u003Cmarku003E
- u003Ciu003E
- u003Chighlightu003E
- u003Cstrongu003E
Web Multimedia
Which tag introduced in HTML5 allows embedding audio content on a web page without external plugins?
- u003Cvideou003E
- u003Caudiou003E
- u003Csoundu003E
- u003Cmediau003E
- u003Csongu003E
Difference in Text Importance
What is the primary distinction between the u003Cstrongu003E and u003Cbu003E HTML elements?
- u003Cbu003E is only for large fonts, u003Cstrongu003E is for bold text.
- u003Cstrongu003E gives semantic importance to the text, u003Cbu003E only makes text bold.
- They both make text italic.
- u003Cstrongu003E is for highlighting code, u003Cbu003E is for book titles.
- u003Cbu003E is for links, u003Cstrongu003E is for navigation.
HTML5 Storage
Compared to cookies, what advantage does HTML5 web storage provide?
- Only allows data to be stored on the server.
- Allows much larger amounts of data to be stored locally in the browser.
- Requires special plugins to work.
- Stores data in the u003Ctitleu003E tag.
- Data expires immediately after a page reload.
HTML List Types
Which type of list is NOT one of the three supported in HTML5?
- Ordered list
- Description list
- Bullet list
- Unordered list
- Numbered list
HTML5 Doctype
What is the correct way to declare the HTML5 doctype at the beginning of a web page?
- u003C!DOCTYPE HTMLu003E
- u003C!DOCTYPE htmlu003E
- u003CHTMLDOCTYPE!u003E
- u003C!DTD htmlu003E
- u003Cdoc type='html'u003E