HTML Introduction
- Which element is used to get highlighted text in HTML5?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The <mark> element is used to highlight a section of text. It is useful for quoting a text or if one wants to bring attention to the text. The <b> tag is used to make text/paragraph bold. <u> tag is used to underline the text you wanted.
- How many times can HTML5 events be fired?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
We can call events like drag, ondragover, etc multiple times in HTML5.
- Which of the following is not sectioning elements?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The <section> element represents a section of a document or application. Tags like <article>, <aside>, <nav>, <section> are the ones that create a nested, new outline inside the page.
- What does <main> include?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
<header> element contains navigation links. Slidebar is for hoverable/sliding text. <footer> is introduced in HTML5 which is present at the end of page and do contains footer information i.e copyright information. Main content is the entire article which wraps the <article> element. It holds the page’s main content. It can be useful for screen readers. E.g. <main> <article>…………</article> </main>
- Which of the following statement is true?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
In SVG drawing is done with vectors and it support event handlers. Canvas doesn’t contains any built-in-animations and drawing is done with pixels.