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 of the following elements can be used in HTML to create a table?(A) <table> , <tbody> , <trow>(B) <table> , <tb> , <trow>(C) <table> , <tbody> , <tr>(D) All of the above

Answer»
2.

Which among the following is the correct way in HTML to insert an image?(A) <img url=“https://bit.ly/2FicgIx”>Geeksforgeeks</img>(B) <img href=“https://bit.ly/2FicgIx” alt= “Geeksforgeeks”></img>(C) <img src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”>(D) <image src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”></image>

Answer»
3.

Which HTML element is used for Important text?(A) <box>(B) <important>(C) <strong>(D) <i>

Answer»
4.

How many different styling techniques are used in CSS?(A) 2(B) 3(C) 4(D) 1

Answer»
5.

Which tag is used for creating a drop-down selection list?(A) <select>(B) <option>(C) <dropdown>(D) <list>

Answer»
6.

Which among the following is a correct way to open a Hyperlink in new tab?(A) <a href=“https://www.geeksforgeeks.org/” new tab></a>(B) <a href=“https://www.geeksforgeeks.org/” target=newtab></a>(C) <a href=“https://www.geeksforgeeks.org/” target=“_blank”></a>(D) <a href=“https://www.geeksforgeeks.org/”></a>

Answer»
7.

Which among the following is correct HTML code for making a checkbox?(A) <checkbox>(B) <input type=”checkbox”>(C) <check>(D) <input type=”check”>

Answer»
8.

Which tag is used to add an header in HTML5 table?(A) <theader>(B) <h1>(C) <th>(D) <header>

Answer»
9.

Which of the following tags is used to make a portion of text italic in HTML?(A) <italic>(B) <style= “i”>(C) <i>(D) <style=“italic”>

Answer»
10.

What is the full form of CSS?(A) Color style sheet(B) Cascading style sheet(C) Creative style sheet(D) Concatenated style sheet

Answer»
11.

What is the purpose of using div tags in HTML?(A) For creating Different styles.(B) For creating different sections.(C) For adding headings.(D) For adding titles.

Answer»
12.

Which of the following is the correct CSS syntax?(A) p:color=green, font-size=15px(B) {p:color=green, font-size=15px}(C) p {color:green, font-size:15px;}(D) p {color:green; font-size:15px;}

Answer»
13.

Which HTML tag is used for internal style sheet?(A) Internal(B) Style(C) CSS(D) Internal Style

Answer»
14.

How is document type initialized in HTML5.?(A) </DOCTYPE HTML>(B) </DOCTYPE>(C) <!DOCTYPE HTML>(D) </DOCTYPE html>

Answer»
15.

Which of the following HTML Elements is used for making any text bold ?(A) <p>(B) <i>(C) <li>(D) <b>

Answer»
16.

Which of the following HTML element is used for creating an unordered list?(A) <ui>(B) <i>(C) <em>(D) <ul>

Answer»
17.

Which of the following characters indicate closing of a tag?(A) .(B) /(C) \(D) !

Answer»
18.

What is the font-size of the h1 heading tag?(A) 3.5 em(B) 2.17 em(C) 2 em(D) 1.5 em

Answer»
19.

Which of the following attributes is used to add link to any element?(A) link(B) ref(C) href(D) newref

Answer»
20.

How many attributes are there in HTML5?(A) 2(B) 4(C) 1(D) None of the above

Answer»
21.

How do we add a comment in CSS file?(A) Geeksforgeeks(B) / Geeksforgeeks /(C) /*Geeksforgeeks*/(D) //*Geeksforgeeks*//

Answer»
22.

If “padding: 10px 5px 20px 0px” is given. What does this represent?(A) left:10px , top:5px , right:20px , bottom:0px(B) top:10px , right:5px , bottom:20px , left:0px(C) right:10px , bottom:5px , left:20px , top:0px(D) bottom:10px , left:5px , top:20px , right:0px

Answer»