We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 14
HTML Interview Questions
1) What is HTML?
HTML stands for Hyper Text Markup Language. It is a language of World
Wide Web. It is a standard text formatting language which is used to
create and display pages on the Web. It makes the text more interactive
and dynamic. It can turn text into images, tables, and links.
2) What are Tags?
HTML tags are composed of three things: an opening tag, content and
ending tag. Some tags are unclosed tags.
HTML documents contain two things:
content, and
» tags
When a web browser reads an HTML document, the browser reads it from
top to bottom and left to right. HTML tags are used to create HTML
documents and render their properties. Each HTML tags have different
properties.
syntax
content
Content is placed between tags to display data on the web page.bLLLLELLELLELLELLLELELELILELLL
3) Do all HTML tags have an end tag?
No. There are some HTML tags that don't need a closing tag. For
example: tag, tag.
4) What is formatting in HTML?
The HTML formatting is a process of format the text for a better look and
feel. It uses different tags to make text bold, italicized, underlined.
5) How many types of heading does an HTML contain?
The HTML contains six types of headings which are defined with the
to
tags. Each type of heading tag displays different text size from
another. So,
tag.
Definition list - The definition list displays elements in definition
form like in dictionary. The
,
and
tags are used to
define description list.
9) What is the difference between HTML elements and tags?
HTML elements communicate to the browser to render text. When the
elements are enclosed by brackets <>, they form HTML tags. Most of the
time, tags come in a pair and surround content.
10) What is semantic HTML?
Semantic HTML is a coding style. It is the use of HTML markup to
reinforce the semantics or meaning of the content. For example: In
semantic HTML tag is not used for bold statement as well as
tag is used for italic. Instead of these we use
and tags.
11) What is an image map?
Image map facilitates you to link many different web pages using a single
image. It is represented by