Advertisement

Advertisement


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 modifies 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..
Syntax : <tag> Content </tag>

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 bold, italic, underlined, etc. more..

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.
  1. Ordered List : In Ordered list elements are displayed in numbered format. <ol> tag are used to create Ordered List. more..
  2. Unordered List : In Ordered list elements are displayed in bullet format. <ul> tag are used to create Unordered List. more..
  3. Defination List : In Ordered list elements are in definition form like in dictionary. <dl>, <dt> <dd> tag are used to create Defination List. more..

Whitch link attribute is used to open link in new window tab ?

target="_blank" are used to open link in new window tab. more..

What is the use of DOCTYPE in HTML ?

A DOCTYPE is Document Type Declaration. It specifies the version of markup language used in the webpage. A DOCTYPE declaration appears at the top of a web page before all other elements. more..

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.

<article, aside>, canvas, nav, section, keygen.









Become a Patron!

Note: If the updated content is not visible to you please refresh the cookies by pressing CTRL + Shift + R.