HTML Interview Questions
Here are some list of top frequently asked HTML interview questions ?
What is HTML ?
HTML stands for
Hyper Text Markup Language
which is used to create structure of a web page.
It was developed by Sir Tim Berners-Lee (Father of HTML) in late 1991. more..
What are HTML Attributes ?
HTML attribute defines the characterstics of the HTML element, which also
the properties of it. more..
What are Tags ?
HTML tag performs its own function and helps in creating the proper structure of a web page. You can't create ur own tags, all tags are predefined. more..
What are the difference between HTML Attributes and Tags ?
HTML tag performs its own function and helps in creating the proper structure of a web page, and Attributes modifies the properties of it.
What are HTML formatting tag and why these tags are Used ?
HTML Formatting is a process of changing appearance of text for better look and feel than the default text.
The formatting tags are used to make text
How many types of lists that are used when designing a page?
There are 3 types of Lists that are used to design HTML Tag.
- Ordered List : In Ordered list elements are displayed in numbered format.
<ol> tag are used to create Ordered List. more..
- Unordered List : In Ordered list elements are displayed in bullet format.
<ul> tag are used to create Unordered List. more..
- Defination List : In Ordered list elements are in definition form like in dictionary.
<dd> tag are used to create Defination List. more..
Whitch link attribute is used to open link in new window tab ?
are used to open link in new window tab.
What is the use of DOCTYPE in HTML ?
A DOCTYPE is Document Type Declaration. It specifies the
of markup language used in the webpage. A DOCTYPE declaration appears at the top of a web page before all other elements.
When should you use comments ?
Comments should be use when you wnat to display important information at the time of coding. They can be useful to leave notes for yourself and other developers as to what a section of HTML is for. Comment are started with
and end with
. Anything in the middle will be completely ignored that means it will not display in your web browser.
Name some tags introduced in HTML 5.