Html miscellaneous


  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 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 of the following is not set with font-style property?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Text-transform: capitalize, capitalizes the first letter of each word whereas font-style set font as normal, italic, oblique. We use text-transform: uppercase and text-transform: lowercase to change the text from lowercase to uppercase and from uppercase to lowercase respectively.


  1. How many standard color names does HTML supports?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    In HTML one can use a color name to specify a color e.g. Tomato, Orange, DodgerBlue, MediumSeaGreen, Gray, SlateBlue, Violet, LightGray etc. For colored fonts, we used text-decoration property to set the color of the text.



  1. For upward double arrow which entity is used?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    & uArr is used for an upwards double arrow, & uarr is for upwards arrow, & rarr for rightwards arrow, & darr for downwards arrow.