WhatsApp Group Join Now
Telegram Group (170K+) Join Now

COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

Table of Contents

COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

Important MCQ on HTML

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of paragraphs, a list of bulleted points, or using images and data tables.

The main parts of our element are as follows:

  1. The opening tag: This consists of the name of the element (in this case, p), wrapped in opening and closing angle brackets. This states where the element begins or starts to take effect — in this case where the paragraph begins.
  2. The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends — in this case where the paragraph ends. Failing to add a closing tag is one of the standard beginner errors and can lead to strange results.
  3. The content: This is the content of the element, which in this case, is just text.
  4. The element: The opening tag, the closing tag, and the content together comprise the element.

1) HTML stands for –

  1. HighText Machine Language
  2. HyperText and links Markup Language
  3. HyperText Markup Language
  4. None of these

2) The correct sequence of HTML tags for starting a webpage is –

  1. Head, Title, HTML, body
  2. HTML, Body, Title, Head
  3. HTML, Head, Title, Body
  4. HTML, Head, Title, Body

3) Which of the following element is responsible for making the text bold in HTML?

  1. <pre>
  2. <a>
  3. <b>
  4. <br>

4) Which of the following tag is used to insert a line-break in HTML?

  1. <br>
  2. <a>
  3. <pre>
  4. <b>

5) Which of the following tag is used for inserting the largest heading in HTML?

  1. <h3>
  2. <h1>
  3. <h5>
  4. <h6>

6) How to create an unordered list (a list with the list items in bullets) in HTML?

  1. <ul>
  2. <ol>
  3. <li>
  4. <i>

7) Which character is used to represent the closing of a tag in HTML?

  1. \
  2. !
  3. /
  4. .

8) How to create a hyperlink in HTML?

  1. <a href = “www.javatpoint.com”> javaTpoint.com </a>
  2. <a url = “www.javatpoint.com” javaTpoint.com /a>
  3. <a link = “www.javatpoint.com”> javaTpoint.com </a>
  4. <a> www.javatpoint.com <javaTpoint.com /a>

9) How to create an ordered list (a list with the list items in numbers) in HTML?

  1. <ul>
  2. <ol>
  3. <li>
  4. <i>

10) Which of the following element is responsible for making the text italic in HTML?

  1. <i>
  2. <italic>
  3. <it>
  4. <pre>

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

11) How to insert an image in HTML?

  1. <imghref = “jtp.png” />
  2. <imgurl = “jtp.png” />
  3. <img link = “jtp.png” />
  4. <imgsrc = “jtp.png” />

12) How to add a background color in HTML?

  1. <marquee bg color: “red”>
  2. <marquee bg-color = “red”>
  3. <marquee bgcolor = “red”>
  4. <marquee color = “red”>

13) <input> is –

  1. a format tag.
  2. an empty tag.
  3. All of the above
  4. None of the above

14) Which of the following tag is used to make the underlined text?

  1. <i>
  2. <ul>
  3. <u>
  4. <pre>

15) How to create a checkbox in HTML?

  1. <input type = “checkbox”>
  2. <input type = “button”>
  3. <checkbox>
  4. <input type = “check”>

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

16) Which of the following tag is used to define options in a drop-down selection list?

  1. <select>
  2. <list>
  3. <dropdown>
  4. <option>

17) HTML tags are enclosed in-

  1. # and #
  2. { and }
  3. ! and ?
  4. < and >

18) Which of the following tag is used to add rows in the table?

  1. <td> and </td>
  2. <th> and </th>
  3. <tr> and </tr>
  4. None of the above

19) The <hr> tag in HTML is used for –

  1. new line
  2. vertical ruler
  3. new paragraph
  4. horizontal ruler

20) Which of the following attribute is used to provide a unique name to an element?

  1. class
  2. id
  3. type
  4. None of the above
  1. 16.9M
  2. 354

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

Important MCQ on HTML Answer Key

Answer 1 ©

Explanation: HTML is an acronym that stands for HyperText Markup Language, which is used for creating web pages and web applications.

HyperText simply means “Text within Text.” A text has a link within it, is a hypertext. A markup language is a computer language that is used to apply layout and formatting conventions to a text document.

Answer  2 (d) HTML, Head, Title, Body

Explanation: The correct sequence of HTML tags to start a webpage is html, head, title, and body.

Answer  3(c) <b>

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

Explanation: The <b> (bold tag) tag in HTML is used to display the written text in bold format.

Answer 4 (a) <br>

Explanation: The <br> tag in the HTML document is used to create a line break in a text. If we place the <br> tag in HTML code, then it works the same as pressing the enter key in a word processor.

 5 Answer  (b) <h1>

Explanation: The <h1> tag is used to insert the main heading or the highest level heading.

6 Answer  (a) <ul>

Explanation: The <ul> tag in HTML is used to display the list items in a bulleted format. There can be four types of an unordered list: disc, circle, square, and none.

7 Answer: (c) /

Explanation: The forward-slash (/) character is used to indicate the closing of a tag in HTML.

8 Answer: (a) <a href = “www.javatpoint.com”> javaTpoint.com </a>

Explanation: The anchor tag and the href attribute is used to create the link in HTML.

9 Answer: (b) <ol>

Explanation: The <ol> tag in HTML is used to display the list items in a numbered format. There can be different types of numbered list: numeric number, capital alphabet, small alphabet, etc.

10  Answer: (a) <i>

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

Explanation: The <i> (italic tag) tag in HTML is used to display the written text in italic format.

11 Answer: (d) <imgsrc = “jtp.png” />

Explanation: The img tag and the src attribute is used to display an image on the webpage.

12 Answer: (c) <marquee bgcolor = “red”>

Explanation: The bgcolor attribute is used to set the background color of an HTML element.

13 Answer: (b) an empty tag

Explanation: The <input> tag in HTML is used to represent a form input control in HTML document.

14 Answer: (c) <u>

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

Explanation: The <u> (underline tag) tag in HTML is used to display the underlined text. It rendered as a solid underlined text, but it can be changed using CSS properties.

15 Answer: (a) <input type = “checkbox”>

Explanation: To create a checkbox in HTML, we have to use the <input> tag and give the value checkbox to its type attribute.

16 Answer: (d) <option>

Explanation: The <option> tag in HTML is used to define options in a dropdown list within <select> or <datalist> element. A dropdown list must have at least one <option> element.

17 Answer: (d) < and >

Explanation: All HTML tags must be enclosed within angular <> brackets.

18 Answer: (c) <tr> and </tr>

Explanation: The <tr> tag in HTML is used to define the rows in the table. It can consist one or more <th> head cells and <td> data cells to define a single row of HTML table.

19 Answer: (d) horizontal ruler

Explanation: The <hr> tag is used to specify a paragraph-level thematic break in HTML document. It is called a horizontal rule and draws a horizontal line.

20 Answer: (b) id

Explanation: The id attribute is used to specify a unique id for an element of the HTML document. It allocates the unique identifier which can be used by the JavaScript and CSS to perform certain tasks.

DOWNLOAD MOBILE APPLICATION TO LEARN MORE: COMPUTER AWARENESS MCQ FOR COMPETITIVE EXAMS

Leave a Comment

Your email address will not be published. Required fields are marked *