HTML Interview Questions and Answers

HTML Interview Questions and Answers

HTML stands for HyperText Markup Language. It is a language for describing web-pages using ordinary text. HTML is a simple and easy understood programming language.

Hyper Text: It means “Text within Text”. A text has a link within it, is a hypertext. (To Links that connect web pages to one another, either within a single website or between websites).

Markup language: It is a programming language that is used make text more interactive and dynamic. It can turn a text into images, tables, links etc.

What is HTML?

What are tags?

Do all HTML tags come in pair?

What are some of the common lists that can be used when designing a page?

How do you insert a comment in html?

Do all character entities display properly on all systems?

What is image map?

What is the advantage of collapsing white space?

Can attribute values be set to anything or are there specific values that they accept?

How do you insert a copyright symbol on a browser page?

How do you create links to sections within the same page?

Is there any way to keep list elements straight in an html file?

If you see a web address on a magazine, to which web page does it point?

What is the use of using alternative text in image mapping?

Do older html files work on newer browsers?

Does a hyperlink apply to text only?

If the user’s operating system does not support the needed character, how can the symbol be represented?

How do you change the number type in the middle of a list?

What are style sheets?

What bullet types are available?

How do you create multi colored text in a webpage?

Why are there both numerical and named character entity values?

Write a HTML table tag sequence that outputs the following?

What is the advantage of grouping several checkboxes together?

What will happen if you overlap sets of tags?

What are applets?

What if there is no text between the tags or if a text was omitted by mistake? Will it affect the display of the html file?

Is it possible to set specific colors for table borders?

How do you create a link that will connect to another web page when clicked?

What other ways can be used to align images and wrap text?

Can a single text link point to two different web pages?

What is the difference between the directory and menu lists and the unordered list?

Can you change the color of bullets?

What are the limits of the text field size?

Do <th> tags always need to come at the start of a row or column?

What is the relationship between the border and rule attributes?

What is a marquee?

How do you create a text on a webpage that will allow you to send an email when clicked?

Are <br> tags the only way to separate sections of text?

Are there instances where text will appear outside of the browser?

How are active links different from normal links?

Do style sheets limit the number of new style definitions that can be included within the brackets?