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.

1. ___________ specifies the width of the text box.2. The ___________ attribute specifies the default selection for options in a checkbox or radio button.

Answer»

1. Size

2. Checked

2.

1. ___________ attributes specifies a name to a form.2. The ___________ attribute specifies the path where the form is to be submitted.

Answer»

1. Name 

2. Action

3.

1. The ___________ attribute specifies the get or post method to be used when submitting the form data.2. The default method of submitting form data is ___________

Answer»

1. Method

2. GET

4.

True or False:1. All the webpages in a website are linked with one another, with the help of HyperText links.2. HyperText Markup Language is a standard language for developing and creating interactive websites, introduced by Tim Berners Lee.

Answer»

1. True

2. True

5.

1. ___________ allows the user to select more than one value.2. The ___________ attribute is used to specify the number of visible values.

Answer»

1. Multiple

2. Size

6.

1. ___________ sets the background color for the table.2. ___________ are used to connect one document with another document.

Answer»

1. bgcolor 

2. Hyperlinks

7.

The __________ control clears the text content entered in the form.(A) Password (B) Reset (C) Button (D) Textbox

Answer»

Correct option is (B) Reset

8.

1. ___________ specifies data within the table (cell content).2. ___________ attribute is required to display a border for the entire table.

Answer»

1.<td>

2. border

9.

True or False:1. &lt;select&gt; assigns value to the option specified in the dropdown list.2. JavaScript was initially created to make web pages alive.

Answer»

1. False

2. True

10.

All the webpages in a website are linked with one another, with the help of ___________ links.

Answer»

Correct Answer is  Hypertext

11.

1. ___________ tag is used to create drop-down list.2. ___________ assigns name to the control.

Answer»

1. <select>

2. Name

12.

1. ___________ is used to indicate creation of a table.2. ___________ is used to specify a table heading.

Answer»

1. <table>

2. <caption>

13.

True or False:1. &lt;tr&gt; tag is used to create each row of the table.2.&lt;th&gt; indicates table heading

Answer»

1. True

2. False

14.

1. ___________ tag is used to create each row of the table.2. ___________ indicates table heading.

Answer»

1. <tr>

2. <th>

15.

True or False:1. A Script is a list of commands that are executed by a scripting engine.2. Scripts are used to generate dynamic Web pages on the Web.

Answer»

1. True

2. True

16.

True or False:1. The Reset control clears the text content entered in the form.2. &lt;Input type = “Radio”&gt; displays push button which activates on events.

Answer»

1. True

2. False

17.

___________ is a standard language for developing and creating interactive websites, introduced by Tim Berners Lee.

Answer»

HyperText Markup Language

18.

The functionality of website is managed by __________ (A) Webserver (B) Uniform Resource Locator (C) Hyper Text Transfer Protocol (D) Hypertext

Answer»

(A) Webserver

19.

True or False:1. The language attribute is used to set scripting language.2. A Variable is a basic unit of storage in a JavaScript program.

Answer»

1. True

2. True

20.

True or False:1. Maxlength describes the name of the control like text radio.2. The Name attribute is a user-defined value.

Answer»

1. False

2. True

21.

__________ tag is used to create each row of the table.(A) &lt;table&gt;(B) &lt;caption&gt;(C) &lt;tr&gt;(D) &lt;th&gt;

Answer»

Correct option is  (C) <tr>

22.

__________ is used to indicate creation of a table. (A)  &lt;table&gt; (B) &lt;caption&gt; (C) &lt;tr&gt; (D) &lt;th&gt;  

Answer»

Correct option is  (A) <table>

23.

A __________ is made up of rows and columns. (A) Table (B) &lt;caption&gt;(D) &lt;tr&gt;(C) &lt;th&gt;

Answer»

Correct option is  (A) Table

24.

1. Standard keywords are not allowed as ___________ name.2. ___________ name can be limited up to 255 characters.

Answer»

1. Variable

2. Variable

25.

__________ is a standard language for developing and creating interactive websites, introduced by Tim Berners Lee. (A) Web server (B) Uniform Resource Locator (C) Hyper Text Transfer Protocol (D) Hyper Text Markup Language

Answer»

(D) Hyper Text Markup Language

26.

1. ___________ specifies a short hint that describes the expected value of a textarea.2.___________ specifies that textarea must be filled out. i.e. It can not be blank.

Answer»

1. Placeholder

2. Required

27.

True or False:1. Standard keywords are not allowed as Variable names.2. A variable names can be limited to up to 255 characters.

Answer»

1. True

2. True

28.

True or False:1. Maxlength specifies the maximum number of characters allowed in the textarea.2. Placeholder specifies a short hint that describes the expected value of a textarea.

Answer»

1. True

2. True

29.

True or False:1. The GET method of sending data does not display the form data in the address bar.2. &lt;Input type = “text”&gt; creates a one line Textbox.

Answer»

1. False

2. True

30.

__________ attribute is required to display a border for the entire table. (A) border (B) bordercolor (C) aligns (D) bgcolor

Answer»

Correct option is  (A) border

31.

True or False:1. HTML provides six levels of heading tags.2. The Six tag displays text in bold and with the largest heading level.

Answer»

1. True

2. False

32.

True or False:1. The variable name may consist of alphabets, digits and underscore, and dollar characters with the following rules.2. Standard keywords are not allowed as Variable names.

Answer»

1. True

2. True

33.

True or False:1. Maxlength attribute is used with text and password type.2. Type specifies the maximum number of characters that can be entered in a text or password box.

Answer»

1. True

2. False

34.

HTML provides __________ levels of heading tags.(A) Six (B) &lt;H1&gt;(C) &lt;H6&gt;(D) &lt;H2&gt;

Answer»

Correct option is  (A) Six

35.

Full form of URL is __________ (A) Uniform Resource Locator (B) United Research Live(C) Uniform Research Live (D) Uniform Research Locator

Answer»

(A) Uniform Resource Locator

36.

__________ is a protocol used by WWW for client-server communication. (A) Web Server (B) Uniform Resource Locator (C) Hyper Text Transfer Protocol (D) Hyper Text

Answer»

(C) Hyper Text Transfer Protocol

37.

__________ enables to write code for a webpage. (A) Webserver (B) Uniform Resource Locator (C) Hyper Text Transfer Protocol (D) Hyper Text Markup Language

Answer»

(D) Hyper Text Markup Language

38.

__________ specifies the number of lines in a textarea. (A) &lt;textarea&gt;(B) Name (C) Rows (D) Cols

Answer»

Correct option is  (C) Rows

39.

Standard keywords are not allowed as __________ name. (A) Variable (B) Java (C) .Net (D) Python

Answer»

(A) Variable

40.

__________ is used to specify name for the textarea.(A) &lt;textarea&gt;(B) Name (C) Rows (D) Cols

Answer»

Correct option is  (B) Name

41.

1. &lt;Input type = “text”&gt; creates a one line ___________2.&lt; Input type = “radio”&gt; creates a ___________ button.

Answer»

1. Textbox

2. Radio

42.

__________ provides data types to store and use different types of values. (A) JavaScript (B) NumberC) Strings (D) Boolean

Answer»

(A) JavaScript

43.

__________ name can be limited up to 255 characters. (A) Variable (B) Java (C) .Net (D) Python

Answer»

(A) Variable

44.

The __________ method of sending data does not display the form data in the address bar. (A) POST (B) Action (C) Method (D) GET

Answer»

Correct option is  (A) POST

45.

True or False:1. The ‘Size’ attribute can be used with text and password type.2. The value specifies the width of the text box.

Answer»

1. True

2. False

46.

True or False:1. The &lt;textarea&gt;  tag is used to create a textbox with multiple lines.2. Name is used to specify a name for the textarea.

Answer»

1. True

2. True

47.

__________ name in javascript is declared with keyword ‘var’. (A) Variable (B) Java (C) .Net (D) Python

Answer»

(A) Variable

48.

Full form of HTML is __________ (A) Hyper Text Markup Language (B) Hyper Test Markup Language (C) Hyper Text Machine Language (D) Hyper Test Machine Language

Answer»

(A) Hyper Text Markup Language

49.

Write down the classification of HTML Tags.

Answer»

HTML tags are categorized as Container tags & Empty tags 

1. Container Tags are also called paired tags.

2. Container Tags have a beginning tag and an end tag. 

3. Empty Tags are standalone tags and do not have an end tag 

50.

Discuss the structure of a web page using HTML5.

Answer»

1. <header> defines a header for a document or a section. 

2. <nav> defines a container for navigation links. 

3. <seetion>defines a section in a document.

4. <article> defines an independent selfcontained article. 

5. <aside> defines content apart from the content (like a sidebar).

6. <footer> defines a footer for a document or a section.  

7. <details>defines additional details.