Html miscellaneous


  1. Which of the following is not used with text-decoration property?











  1. 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.


  1. Which works similar to <i> element?











  1. 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.



  1. Which works similar to element?











  1. 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.


  1. Which element is used for short quote?











  1. 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.



  1. Which element is used for abbreviation or acronym?











  1. 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.