bidezones.com /HTML5/HTML Mcq Question 2021 Sample Test,Sample questions

Question:
 <input> is -

1.a format tag.

2.an empty tag.

3.All of the above

4.None of the above

Posted Date:-2021-12-22 08:42:26


Question:
 An HTML program is saved by using the ____ extension.

1..ht

2..html

3..hml

4.None of the above

Posted Date:-2021-12-22 09:18:44


Question:
 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">

Posted Date:-2021-12-22 08:41:58


Question:
 How to insert a background image in HTML?

1.<body background = "img.png">

2.<img background = "img.png">

3.<bg-image = "img.png">

4.None of the above

Posted Date:-2021-12-22 09:15:39


Question:
 In HTML5, which of the following tag is used to initialize the document type?

1.<Doctype HTML>

2.<Doctype html>

3.<Doctype>

4.<!DOCTYPE html>

Posted Date:-2021-12-22 09:20:27


Question:
 The tags in HTML are -

1.case-sensitive

2.in upper case

3.not case sensitive

4.in lowercase

Posted Date:-2021-12-22 09:19:32


Question:
 Which HTML tag is used to display the power in expression, i.e., (x2 - y2)?

1.<sup>

2.<sub>

3.<p>

4.None of the above

Posted Date:-2021-12-22 09:24:13


Question:
A program in HTML can be rendered and read by -

1.Web browser

2.Server

3.Interpreter

4.None of the above

Posted Date:-2021-12-22 09:19:07


Question:
How to create a checkbox in HTML?

1.<input type = "checkbox">

2.<input type = "button">

3.<checkbox>

4.<input type = "check">

Posted Date:-2021-12-22 08:43:16


Question:
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>

Posted Date:-2021-12-22 08:39:54


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

1.<ul>

2.<ol>

3.<li>

4.<i>

Posted Date:-2021-12-22 08:40:17


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

1.<ul>

2.<ol>

3.<li>

4.<i>

Posted Date:-2021-12-22 08:38:55


Question:
How to insert an image in HTML?

1.<img href = "jtp.png" />

2.<img url = "jtp.png" />

3.<img link = "jtp.png" />

4.<img src = "jtp.png" />

Posted Date:-2021-12-22 08:41:31


Question:
HTML stands for -

1.HighText Machine Language

2.HyperText and links Markup Language

3.HyperText Markup Language

4.None of these

Posted Date:-2021-12-22 08:36:34


Question:
HTML tags are enclosed in-

1.# and #

2.{ and }

3.! and ?

4.< and >

Posted Date:-2021-12-22 08:48:06


Question:
The <hr> tag in HTML is used for -

1.new line

2.vertical ruler

3.new paragraph

4.horizontal ruler

Posted Date:-2021-12-22 08:49:08


Question:
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

Posted Date:-2021-12-22 08:37:05


Question:
What are the types of unordered or bulleted list in HTML?

1.disc, square, triangle

2.polygon, triangle, circle

3.disc, circle, square

4.All of the above

Posted Date:-2021-12-22 09:16:16


Question:
Which is the correct way to comment out something in HTML?

1.Using ## and #

2.Using <!-- and -->

3.Using </-- and -/->

4.Using <!-- and -!>

Posted Date:-2021-12-22 09:22:16


Question:
Which of the following are the attributes of the

tag?

1.method

2.action

3.Both (a) & (b)

4.None of the above

Posted Date:-2021-12-22 09:21:37


Question:
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

Posted Date:-2021-12-22 08:49:35


Question:
Which of the following element is responsible for making the text bold in HTML?

1.<pre>

2.<a>

3.<b>

4.<br>

Posted Date:-2021-12-22 08:37:33


Question:
Which of the following element is responsible for making the text italic in HTML?

1.<i>

2.<italic>

3.<it>

4.<pre>

Posted Date:-2021-12-22 08:41:04


Question:
Which of the following HTML attribute is used to define inline styles?

1.style

2.type

3.class

4.None of the above

Posted Date:-2021-12-22 09:17:46


Question:
Which of the following HTML tag is the special formatting tag?

1.<p>

2.<b>

3.<pre>

4.None of the above

Posted Date:-2021-12-22 08:50:29


Question:
Which of the following HTML tag is used to display the text with scrolling effect?

1.<marquee>

2.<scroll>

3.<div>

4.None of the above

Posted Date:-2021-12-22 08:50:02


Question:
Which of the following is the container for <tr>, <th>, and <td> ?

1.<data>

2.<table>

3.<group>

4.All of the above

Posted Date:-2021-12-22 08:51:42


Question:
Which of the following is the correct way to change the font face in HTML?

1.<font name = "Calibri"> ……… </font>

2.<font face = "Calibri"> ……… </font>

3.<font = "Calibri"> ……… </font>

4.None of the above

Posted Date:-2021-12-22 09:26:22


Question:
Which of the following is the correct way to create a list using the lowercase letters?

1.<ol alpha = "a" >

2.<ol type = "a">

3.<ol letter = "a">

4.None of the above

Posted Date:-2021-12-22 09:16:40


Question:
Which of the following is the correct way to send mail in HTML?

1.<a href = "mailto: xy@y">

2.<a href = "xy@y">

3.<mail xy@y</mail>

4.None of the above

Posted Date:-2021-12-22 08:51:01


Question:
Which of the following is the correct way to start an ordered list with the count of numeric value 4?

1.<ol type = "1" initial = "4">

2.<ol type = "1" begin = "4">

3.<ol type = "1" num = "4">

4.<ol type = "1" start = "4">

Posted Date:-2021-12-22 09:17:18


Question:
Which of the following is the paragraph tag in HTML?

1.<p>

2.<b>

3.<pre>

4.None of the above

Posted Date:-2021-12-22 09:18:13


Question:
Which of the following is the root tag of the HTML document?

1.<body>

2.<head>

3.<title>

4.<html>

Posted Date:-2021-12-22 09:20:00


Question:
Which of the following tag is used for inserting the largest heading in HTML?

1.<h3>

2.<h1>

3.<h5>

4.<h6>

Posted Date:-2021-12-22 08:38:03


Question:
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

Posted Date:-2021-12-22 08:48:42


Question:
Which of the following tag is used to create a combo box (or drop-down box)?

1.<list>

2.<select>

3.<input type = "dropdown">

4.<ul>

Posted Date:-2021-12-22 09:21:04


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

1.<select>

2.<list>

3.<dropdown>

4.<option>

Posted Date:-2021-12-22 08:43:43


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

1.<br>

2.<a>

3.<pre>

4.<b>

Posted Date:-2021-12-22 08:38:28


Question:
Which of the following tag is used to make the underlined text?

1.<i>

2.<ul>

3.<u>

4.<pre>

Posted Date:-2021-12-22 08:42:49


More MCQS[bidezones.com ]

  1. HTML Mcq Question 2021
  2. Html5 MCQ