HTML Interview Questions and Answers

Can you align a table to right or left?

Yes,To align the table to the right, you can use <TABLE ALIGN="right"> for the left, you can use <TABLE ALIGN="left">

Why we Consider Placing JavaScript Files at the Bottom?

the primary goal is to make the page load as quickly as possible for the user. When loading a script, the browser cannot continue on until the entire file has been loaded. Thus, the user will have to wait longer before noticing any progress.

If you have JS files whose only purpose is to add functionality we can place those files at the bottom, just before the closing body tag. This is absolutely a best practice.

What are the different types of Headings supported by HTML?

Html supports six heading starting from H1 to H6

What are differences between DIV and SPAN?

DIV is a block-level element and used as a container for HTML elements whereas a SPAN is an inline elementand working as a container for text;

Latest Updates


What is the value of cot 4π/3 ?

Indian Politics

Article-24 of the Indian Constitution ‘Prohibition of employment of children in factories, etc’ deals with?

Article-134A of the Indian Constitution ‘Certificate for appeal to the Supreme Court’ deals with?


Who invented Aspirin?


A larger force on a rotating body results in larger?

What is the unit of the physical quantity, magnetic flux density?


The system of equations 2x + 4y = 6 and 4x + 8y = 8 is ?

Time and Distance

A thief is spotted by a policeman from a distacne of 100 m. When the policeman starts the chase, the thief also starts running. If the speed of the theif is 8 km / hour and that of the policeman is 10 km/hour, then how far will the theif have to run before he is overtaken?


Aman and Alok attempted to solve a quadratic equation. Aman made a mistake in writing down the constant term and ended up in roots (4, 3). Alok made a mistake in writing down the coefficient of x to get roots (3, 2). The correct roots of the equation are?

Compound Interest

The effective annual rate of interest corresponding to a nominal rate of 22% per annum payable half-yearly is?

Volume and Surface Area

If the volume of a cylinder is 2156 cubic cm and height is 14 cm, find its radius?


What is the equation of the line which passes through the points (2, 3) and (- 4, 1)?


In △ABC, the angle bisector of ∠A cuts BC at E. Find length of AC, if lengths of AB, BE and EC are 9 cm, 3.6 cm and 2.4 cm?

In a triangle, the length of the opposite side of the angle which measures 45° is 8√2 cm, what is the length of the side opposite to the angle which measures 90°?

General Knowledge of India

The boundary line between India and Pakistan is called?

Which city is located on the banks of the river Mahanadi?

Indian History

When was the battle of Haldighati fought?

In 1498, which Portuguese explorer discovered a new sea route from Europe to India?

General Knowledge of India

Chapchar Kut is a festival of which State?


In chemistry, soap is a salt of a ?

Indian Economy

Which of the following is a Direct tax?


Sauria lacertidae is the scientific name of?

Which of the following is a primary function of haemoglobin?


A factory buys 8 machines.3 Machine A, 2 Machine B and rest Machine C. Prices of the machines are 100000, 80000 and 45000 respectively.Calculate the average cost of these machines?


Ticket for an adult is 500 and a child is 200. 1 child goes free with two adults. If a group has 20 adults and 8 children what will be the discount the group get?