XHTML Interview Questions and Answers
Question - 61 : - What Is A Tag?
Answer - 61 : -
In HTML, a tag tells the browser what to do. When you write an HTML page, you enter tags for many reasons — to change the appearance of text, to show a graphic, or to make a link to another page.
Question - 62 : - What Is Everyone Using To Write Html?
Answer - 62 : -
Everyone has a different preference for which tool works best for them. Keep in mind that typically the less HTML the tool requires you to know, the worse the output of the HTML. In other words, you can always do it better by hand if you take the time to learn a little HTML.
Question - 63 : - What Is A Doctype? Which One Do I Use?
Answer - 63 : -
According to HTML standards, each HTML document begins with a DOCTYPE declaration that specifies which version of HTML the document uses. Originally, the DOCTYPE declaration was used only by SGML-based tools like HTML validators, which needed to determine which version of HTML a document used (or claimed to use). Today, many browsers use the document's DOCTYPE declaration to determine whether to use a stricter, more standards-oriented layout mode, or to use a "quirks" layout mode that attempts to emulate older, buggy browsers.
Question - 64 : - How Do I Use Forms?
Answer - 64 : -
The basic syntax for a form is:
When the form is submitted, the form data is sent to the URL specified in the ACTION attribute. This URL should refer to a server-side (e.g., CGI) program that will process the form data. The form itself should contain
Question - 65 : - What Do You Understand About Doctype In Html?
Answer - 65 : -
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,
Question - 66 : - How You Define Index Document?
Answer - 66 : -
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.
Question - 67 : - How You Define Span In Html?
Answer - 67 : -
We use SPAN by using tag in HTML.Syntax:…………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:
In this page we use span.
Question - 68 : - What Is An Xhtml Element Attribute?
Answer - 68 : -
An element attribute is a predefined property about this element. Element attributes allows you to provide additional information to the element. Most XHTML elements have some common attributes. But many XHTML elements have their own specific attributes.
Here are some good examples of element attributes: