Html miscellaneous
- What is the work of <address> element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The contact details for author of a page is specified by <address> attribute. The content is often displayed in italics,
- To show deleted text, which element is used?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
<strong> element shows the importance of text/paragraph between it’s tags. <em> element indicates emphasis, browser will show the contents of <em> element in italic. <ins> element shows the content that has been inserted, usually it has underline. <del> element shows text that has been deleted from, usually it has a line through the content.
- Which element is used to show inserted element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
<del> element shows text that has been deleted from, usually it has a line through the content. <strong> element shows the importance of text/paragraph between it’s tags. <em> element indicates emphasis, browser will show the contents of <em> element in italic. <ins> element shows the content that has been inserted, usually it has underline.
- How <bdo> element works?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
For bidirectional override of current text direction, we used <bdo> element, e.g. <bdo dir=”rtl”>Text is right to left</bdo>. This element was already there before HTML5. It is supported by all the browsers.
- Which property is similar to C/C++ can be applied to comments?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
We can add conditional comments in our web page using if and endif, e.g. <!–[if age 9]>..text….<![endif]–>, there is no provision of “for” or “while” loop in HTML, same apply with switch case also.