Tag: web technology

Questions Related to web technology

HTML tags normally come in pairs?

  1. True

  2. False


Correct Option: A

What is the extension for HTML file?

  1. htm

  2. html

  3. hta

  4. htl


Correct Option: A,B

What is used for Bulleted Lists in HTML?


      Correct Option: A

      HTML headings are defined with the

      to

      tags?

      1. True

      2. False


      Correct Option: A

      HTML links are defined with the -- tag?


      Correct Option: A

      In the followsing code, what is "href" Code:- This is a link

      1. attribute

      2. Paragraph

      3. html tag

      4. property


      Correct Option: A



      Correct Option: D
      Explanation:

      To create a horizontal rule in HTML, we can use the <hr> tag.

      Now let's go through each option and determine if it is the correct answer:

      A. <b>: This tag is used to make text bold, not to create a horizontal rule. So, this option is incorrect.

      B. </b><p>: This tag is used to create a paragraph, not a horizontal rule. Therefore, this option is incorrect.

      C. <br>: This tag is used to insert a line break, not a horizontal rule. Hence, this option is incorrect.

      D. </p><hr>: This tag is specifically used to create a horizontal rule. So, this option is the correct answer.

      Therefore, the correct answer is D - <hr>.

      In HTML, comments can be used as --

      1. /* This is a comment */

      2. 'This is a comment

      3. //This is a comment


      Correct Option: D
      1. style attribute

      2. class attribute

      3. id attribute

      4. name attribute


      Correct Option: A

      How to use radio button in HTML?


      Correct Option: A