Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Which tag is used for line break?(a) <br>(b) <hl>(c) <LI>(d) <p>

Answer»

Correct answer is (a) <br>

2.

The tag used to define a paragraph in HTML:(a) &lt;para&gt;(b) &lt;p&gt;(c) &lt;q&gt;(d) &lt;br&gt;

Answer»

Correct answer is (b) <p>

3.

Which of the following tag is a structural tag?(a) &lt;html&gt;(b) &lt;hl&gt;(c) &lt;br&gt;(d) &lt;p&gt;

Answer»

Correct answer is (a) <html>

4.

Which tag is used to create comments in the HTML?(a) &lt;#&gt;(b) &lt;!&gt;(c) &lt;*&gt;(d) &lt;@&gt;

Answer»

Correct answer is (b) <!>

5.

How many types are classified in the HTML elements? (a) 3 (b) 4 (c) 2 (d) 5

Answer»

Correct answer is (c) 2

6.

Which function key is used to refresh / reload the modification?(a) F2(b) F3(c) F4(d) F5

Answer»

Correct answer is (d) F5

7.

How can you open the source file from the Internet Explorer?(a) File → source(b) View → source(c) Edit → source(d) Tools → source

Answer»

(b) View → source

8.

How can you create paragraphs in HTML?

Answer»

In HTML, paragraphs are created using the <pl> tag. The content what you type between <p> and <pl>is identified as a paragraph and display as a paragraph by the browser. Because, the browser does not recognize returns (Pressing “Enter” Key).

9.

What is the use of &lt;br&gt; tag?

Answer»

The <br > tag is used for line break. The  <br > is an empty tag, does not have close tag and attribute. It should be placed at the end of a line.

10.

What is the use of Align attribute?

Answer»

Align is an attribute to set right; center and justify alignment to headings. Left is the default alignment, so that it is not supported in latest version of HTML. Justify alignment is not supported by older browsers. The tag is to specify the alignment to headings: <h# align = value>

11.

How can you open web page in a browser?

Answer»

Step 1: 

Open a Browser (Internet Explorer / Mozilla Firefox or any) 

Step 2: 

Click File Open File (or) Press Ctrl + O 

Step 3: 

From the “Open” dialog box, browse the folder in which the HTML document is saved. Choose the File name and click “Open” button.

12.

What is meant by Browser application?

Answer»

Browser applications are having some special rules for displaying text. They do not recognize returns, tabs or even more than one space between words. If you create an HTML document with multiple lines of text, browser will display it as a single line.

13.

How can you identify the colour combination of Hexadecimal value?

Answer»

The six digit hexadecimal value is the combinations of three, two digit number sequence represent a color. First two digits represent Red, next two digits for Green and last two digits for Blue (RGB) in the range of 00 – FF. 

Eg: 000000 is black and FFFFFF is white. FF0000 is bright red. You can try out different combinations of these values to get variety of colors.

14.

Which is the default browser available with Linux? (a) Chrome (b) Internet explorer (c) Getit (d) Mozilla firefox

Answer»

(d) Mozilla firefox