Html miscellaneous


  1. Which of the following element is used for highlighting content similarly to how a highlighter pen might be used on important text in a book?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    <em> tag convert the font in italic one. The <strong> tag is used to denote the importance of text. <bold> tag is used to make the text bold in font size. The mark tag defines marked text and is used to highlight parts of your text.


  1. To insert a video, we use a video tag and set its src attribute to a local or remote URL containing a playable movie.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    To show a video in HTML, video element is used. One of the attribute of video called src is used to provide the location of video i.e. it’s URL address.



  1. Which tag is used to encapsulate navigation and then style the elements appropriately as menu items?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Conventionally, many web developers have use <ul></ul> and <li></li> tags to encapsulate navigation and then styled the elements appropriately as menu items. This seems to introduce quite a bit of ambiguity in markup because it may be difficult to determine the difference between a list that has links in it and a list that is simply navigation.


  1. How do we write comments in HTML5?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Browser ignores comment in a code. There are always two types of command i.e. single line command and multiple line command. If one wants to add a comment in code, add the text between these characters <!…..comment….>. It will not visible in the user’s browser.



  1. Which one is correct syntax?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    <p id=”td”> is the correct syntax for id type declaration. Id attribute’s value should start with a letter or an underscore. We cannot use any number or other character for defining name of the id.