Totel:40 Click:
1
2 3 4 5 6 7 8
HTML Interview Questions And Answers
Page 1
Questions 1 What do you understand about DOCTYPE in HTML?
Answer
DOCTYPE is stands for Document Type Declaration.In an HTML every HTML document is started with DOCTYPE declaration.It may be differ for different versions of HTML.DOCTYPE is used only bySGML tools like as HTML validator.
Example of Document Type Declaration in HTML 4 are,
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Questions 2 How Cell Padding is differ from Cell Spacing?
Answer
I have given you how cell padding is differ from cell spacing given below:
Cell Padding: Cell Padding in HTML: is used to define the how much space need b/n cell content and cell edges.
Syntax:
< table width="200" border="1" cellpadding="3">
means that it takes 3 pixels of padding inside the each cell.
Cell Spacing: It is also used to format the table.but it differ than cell padding because in cell padding we can set an extra space to seperate the cell content with cell edges.Where as we use cell spacing to set the space b/w the cells.
Syntax:
< table width="200" border="1" cellspacing="10">
We can use cell padding and cell spacing together like that,
< table width="200" border="1" cellpadding="3" cellspacing =�10�>
Questions 3 How you define index document?
Answer
Many times we have require index.htm / document because it is a standard for the host-server to look for the document and deploy it.Default document to be displayed in the web.
Questions 4 How you define HEAD in HTML?
Answer
Head is placed before the body in the HTML.It is use to display only the general information or unordered collection to information about the HTML document.
Answer
head tag is the first tag in html. it helps to give title of the page.
Questions 5 How you define SPAN in HTML?
Answer
We use SPAN by using <SPAN> tag in HTML.Syntax:<SPAN>............</SPAN>Used to highlightthe any color text, for adding colored text, for adding background image to text. SPAN not a cause of line break. It delimits text and using them we can use style to the \'elemental\' region without any break in Text.
Example:
p>
<span style="color:#FF0000;">
In this page we use span.
</span>
</p>
Goto Page:
1
2 3 4 5 6 7 8
HTML Objective Questions And Answers
HTML Objective Questions And Answers
HTML Interview Questions And Answers
HTML Subjective Questions And Answers
R4R,HTML Objective, HTML Subjective, HTML Interview Questions And Answers,HTML,HTML Interview,HTML Questions ,HTML Answers