HTML Interview Question-Answers

10  HTML Question-Answers

1 Question:- What is HTML (Hyper Text Markup Language).

The language used to develop web pages is called Hyper Text Markup Language (HTML). HTML is the language interpreted by a Browser. Web Pages are also called HTML documents. HTML is a set of special codes that can be embedded in text to add formatting and linking information. HTML is specified as TAGS in an HTML document (i.e. the Web Page).

2 Question:- Explain HTML tags.

Tags are the instruction that are embedded directly into the text of the document. An HTML tag is the signal to the browser that it should do something other than just throw text up on the screen. By convention all HTML tags begin with an open angle bracket (<) and end with a close angle bracket (>).

3 Question:- What are Paired tags.

A tag is said to be paired tag if it, along with a companion tag, flanks the text. For example the <B> tag is paired tag. the <B> tag with its companion tag </B> causes the text contained between them to be rendered in bold. The effect of other paired tags is applied only to the text they contain.

In paired tags, the first tag (<B>) is often called the opening tag and the second tag (</B>) is called the closing tag.

4 Question:- What are Singular tags.

We also called Singular tag is Stand Alone tag. A stand alone tag does not have a companion tag. For example <BR> tag will insert a line break. This tag does not require any companion tag.

5 Question:- Explain Title…

A web page could have a title that describes what the page is about without being too wordy. This can be achieved by using the TITLE tag. Text between the <TITLE>……..</TITLE> tag shows up in the title bar of the browser window.

6 Question:- Explain Footer…

Just as the Title can be placed in the title bar of the browser window, certain information is commonly placed at the foot of the webpage. Copyright information, contact details of the creator of the web page and so on are the type of information traditionally placed at the foot of the webpage. The HTM tags are:

<ADDRESS>.....</ADDRESS>

7 Question:- Explain Paragraph breaks.

A blank line always separates paragraphs in textual material. The tag that provides this functionality is <P>. On encountering this tag the browser, moves onto a new line, skipping the one line between the previous line and the new line.

8 Question:- Explain Line breaks in HTML.

When text needs to start from a new line and not continue on the same line (without skipping a blank line), the <BR> tag should be used. This tag simply jumps to the start of the next line.

9 Question:- Overview of Emphasizing Material in a Webpage.

Document pages are usually divided into sections and subsections (i.e. pages could have headings and sub headings), which need to be emphasized. HTML provides certain HEADING STYLES and HORIZONTAL RULES, which helps break text into logical sections with visual appeal.

10 Question:- Heading Style in HTML.

HTML supports six different levels of headings. The highest-level header format is <H1> and the lowest level is <H6>. All the styles appear in BOLDFACE and the size of the heading depends on the level chosen, i.e. <H1> to <H6>. As the number next to the <H> (1,2,3…) increases, the font size actually decreases.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top