Html miscellaneous
- Which of the following is not used with text-decoration property?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
overline, underline, line-through properties are used to decorate the text.
Syntax:
h1{text-decoration: line-through; },
h2 {text-decoration: overline ;},
h3{text-decoration: underline;}
it will produce headings h1 with text having line-through, h2 with text having overline and h3 with text having underline.
- Which works similar to <i> element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
<strong> element shows the importance of text/paragraph between it’s tags. <b></b> makes text bolder. A section which is quoted from another source is specified by <blockquote>. <em> element indicates emphasis, browser will show the contents of <em> element in italic.
- Which works similar to element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The words written inside <strong> can be said with strong emphasis. Browser shows contents written inside <strong> element in bold.
- Which element is used for short quote?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
<em> element indicates emphasis, browser will show the contents of <em> element in italic. A section which is quoted from another source is specified by <blockquote>. The <abbr> defines abbreviation. We used <q> element for shorter quote. Browser put quote around <q> element.
- Which element is used for abbreviation or acronym?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
<em> element indicates emphasis, browser will show the contents of <em> element in italic. We used <q> element for shorter quote. Browser put quote around <q> element. A section which is quoted from another source is specified by <blockquote>. For using, abbreviation or acronym <abbr> element is helpful. A title element is to be used with abbr.