Identifying HTML Tags and Elements
Which of the following best describes the difference between an HTML tag and an HTML element?
- A tag is just the opening or closing symbol, whereas an element includes the tag and its content.
- A tag and an element are the same thing in HTML.
- A tag contains only the closing symbol, while an element includes attributes.
- An element is a comment in HTML, and a tag is used for images.
- A tag is always self-closing, and an element contains scripts only.
Void or Empty Elements
Which of the following HTML tags is an example of an empty element that does not require a closing tag?
- u003Chru003E
- u003Csectionu003E
- u003Ctableeu003E
- u003Cbodyyu003E
- u003Cdivu003E
Semantics in HTML
Which option lists only semantic HTML elements?
- u003Carticleu003E, u003Cformu003E, u003Ctableu003E
- u003Cdivu003E, u003Cspanu003E, u003Cbu003E
- u003Cfontu003E, u003Cemu003E, u003Ciu003E
- u003Cmarqueeu003E, u003Cdiru003E, u003Cuu003E
- u003Cspaanu003E, u003Cmainnu003E, u003Cnavvu003E
HTML5 Audio Support
Which file format is NOT supported by the HTML5 audio tag?
- FLAC
- mp3
- Ogg
- WAV
- ogg
HTML Input Types
Which one of the following is a valid new input type introduced in HTML5 for forms?
- date
- numberr
- choise
- inptut
- bttn
Frames and Embedding Content
What is the purpose of the u003Ciframeu003E tag in HTML?
- To display a webpage within another webpage
- To draw graphics using JavaScript
- To define a form field
- To make text bold and italic
- To create bullet lists
Lists in HTML
Which of the following is NOT a type of list supported by HTML?
- Cascading list
- Ordered list
- Definition list
- Menu list
- Unordered list
Meta Tags in HTML
What is one common use for meta tags in HTML documents?
- To tell search engines about page content and relevant keywords
- To create hyperlinks between pages
- To embed video files
- To define CSS layouts
- To include JavaScript code
HTML5 Application Features
Which of the following best describes the purpose of a Manifest file in HTML5?
- It tells the browser which files to cache for offline use.
- It contains a list of all website users.
- It is used to validate input types in forms.
- It determines the color of headings.
- It defines table borders and spacing.
Block vs Inline Elements
Which of the following is considered a block-level HTML element?
- u003Csectionu003E
- u003Cspaanu003E
- u003Cemu003E
- u003Cbu003E
- u003Clinnku003E