HTML Interview Questions
1 .
Explain HTML blocks ?
HTML blocks can be defined by HTML tags like <span> and <div>.
2 .
How to create frames ?
HTML frames can be created by using <frame> tag within a frameset(<frameset>). HTML <frame> tag defines a particular window within frameset.
3 .
What is Semantic HTML ?
Semantic HTML is a coding style where the tags embody what the text is meant to convey. In Semantic HTML, tags like for bold, and for italic should not be used, reason being they just represent formatting, and provide no indication of meaning or structure. The semantically correct thing to do is use and . These tags will have the same bold and italic effects, while demonstrating meaning and structure (emphasis in this case).
4 .
How do you insert a copyright symbol on a browser page ?
To insert the copyright symbol, you need to type &copy; or & #169; in an HTML file.
5 .
What is a nest in HTML?
If you go and have a look at HTML markup for any webpage today, you will let to know that HTML elements are contained within other HTML elements. These elements which are inside of other are known as nested elements and they had become the essential part of building any web page nowadays. The most expertise way to know more about nesting is just to think about HTML tags in the form of boxes that hold your content which can be in form of text, images,etc.HTML tags are basically the boxes around the content.
6 .
What is Cell Spacing and Cell Padding?
The cellspacing attribute defines the width of the border, while cellpadding represents the distance between cell borders and the content within a cell.
<table border cellspacing=3>
<table border cellpadding=3>
<table border cellspacing=3 cellpadding=3>
7 .
what is multipart form data?
Multipart form-data is one of the values of the enctype attribute, which is used in the form element that has a file upload. Multi-part means form data divides into multiple parts and send to the server. It adds a few bytes of boundary overhead to the message, and must spend some time calculating it, but sends each byte in one byte.
8 .
How many types of lists are available in HTML?
In HTML, we have two types of lists unordered lists and ordered lists. Unordered list starts with <ul> tag and ends with </ul> tag. Ordered tag starts with <ol> and ends with </ol>. Each list item is written as <li></li>
9 .
How can you make a bulleted list in HTML?
An unordered list (<ul>) is used to create a bulleted list in HTML. Below is a simple example to create bulleted list in HTML.
<p>Fruits List</p>
10 .
What is the difference between DIV and SPAN in HTML?
The difference between span and <div> is that a <span> element is in-line and usually used for a small chunk of HTML inside a line,such as inside a paragraph. Whereas, a div or division element is block-line which is equivalent to having a line-break before and after it and used to group larger chunks of code.
<div id="HTML">
	These are HTML<span class="blue_color">Interview Questions</span>