- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
XHTML Interview Questions & Answers - Learning Mode

XHTML Interview Questions & Answers - Learning Mode

Extensible Hypertext Markup Language (XHTML) is part of the family of XML markup languages. It mirrors or extends versions of the widely used Hypertext Markup Language (HTML), the language in which Web pages are formulated. While HTML, prior to HTML5, was defined as an application of Standard Generalized Markup Language (SGML), a flexible markup language framework, XHTML is an application of XML, a more restrictive subset of SGML.

Try XHTML Interview Questions & Answers - Exam Mode

1 2 3 Next

Sort By : Latest First | Oldest First | By Rating

XHTML Interview Questions & Answers - Learning Mode
Try XHTML Interview Questions & Answers - Exam Mode
Question: What is conversion of existing HTML pages,especially bulk conversion?

Answer: W3C has written a utility program called Tidy which can be used to convert HTML pages to XHTML. Tidy can be used in batch mode to bulk-convert documents. Tidy is an open source program, which has been incorporated into an number of authoring tools, most notably HTML-Kit. Source:
Question: What Tools to Use to View XHTML Documents?

Answer: The basic tool you need to view XHTML documents is any Web browser, like Internet Explorer (IE) or FireFox.

The following tutorial shows you how to view a XHTML document with :

► Write an XHTML document and save it as hello.html.
► Run IE and select the File > Open menu. The Open dialog box shows up.
► Use the Browse button to find and select your XHTML document, hello.html.
► Click OK, IE will open hello.html and let you view it.

Here is Source:
Question: What Is the Relation between XHTML and DTD?

Answer: DTD (Document Type Definition) is a language based on XML to you to define a specific type of XML documents.

Since XHTML is a specific type of XML documents, you can use DTD to define the structure of XHTML. In fact, XHTML 1.0 Strict version is defined in DTD as shown at Source:
Question: How is XHTML better than HTML? Why would you want to use XHTML?

Answer: XHTML is a fairly close copy of HTML 4.01.

Extensibility : Under HTML, the addition of a new group of elements requires alteration of the entire DTD. XML greatly eases the integration of new element collections as it is a subset of SGML itself and specifies it's own DTD.
Portability : By the year 2002 as much as 75% of Internet access could be carried out on non-PC platforms such as palm computers, televisions, fridges, automobiles, telephones, etc. In most cases these devices will Source:
Question: What Is the Latest XHTML Specification?

Answer: The latest XHTML specification is XHTML 1.0 second edition revised in August, 2002 by W3C. If you are professional XHTML developer, you should get a copy of this specification at Source:
Question: What is XHTML Modularization?

Answer: The XHTML modularization model defines the modules of XHTML.
XHTML is a simple, but large language. XHTML contains most of the functionality a web developer will need.

For some purposes XHTML is too large and complex, and for other purposes it is much too simple.

By splitting XHTML into modules, the W3C (World Wide web Consortium) has created small and well-defined sets of XHTML elements that can be used separately for simple devices as well as combined with other XML standards Source:
Question: What XHTML does it stand for? How is if different from HTML? Who developed it? ?

Answer: XHTML stands for "Extensible HyperText Markup Language". It was developed by the World Wide Web Consortium (W3C) and is now a W3C Recommendation.
XHTML is a reformulation of HTML 4 in XML 1.0. This means that the benefits provided by XML will be available to XHTML. Source:
Question: What the benefits of XHTML are?

Answer: As XHTML is an XML application, you will benefit from developments in the XML world. For example XML tools such as editors, converters, browsers, etc. can be used with XHTML resources. In addition there are developments to the XML family of protocols and formats which will provide additional functionality for XHTML. Source:
Question: What's about an assumption with XHTML?

Answer: Serving XHTML with a MIME type of text/html is wrong. The whole point of XHTML is that it?s XML so that you can benefit from namespaces and the like. If you serve it as text/html, you can?t:
In particular, ?text/html? is NOT suitable for XHTML Family document types that adds elements and attributes from foreign namespaces, such as XHTML+MathML [XHTML+MathML].
Two choices:
1. XHTML 1.0 served as application/xhtml+xml to conform Source:
Question: How To Close an XHTML Element?

Answer: Every XHTML element must be closed. There are two ways to close an XHTML element:

► Using a closing tag, which is the element name prefixed with "/" and enclosed in a pair of angle brackets: "<" and ">".
► Closing the opening tag immediately by placing "/" before the ending bracket: ">".

Here are some good examples of closing XHTML elements:
► <html>...</html>- Closing the html element with a closing tag.
► <head>...</h Source:
Question: What Is an XHTML Element?

Answer: An XHTML element is the basic building block of an XHTML document. An XHTML element has the following features:

► An XHTML element must have a name.
► An XHTML element may have zero or more attributes.
► An XHTML element may or may not have any content.

Here is a good example of an XHTML element:

<a href=""></a>

The above an XHTML element has:

► A name called "a", which Source:
Question: Who Developed XHTML?

Answer: XHTML was developed by W3C HTML Working Group with Steven Pemberton as the group chair. Source:
Question: What Is the Relation between XHTML and HTML?

Answer: HTML (Hyper-Text Markup Language) is the original markup language for writing Web documents.

XHMTL 1.0 is basically the same language as HTML 4.0. But XHTML 1.0 is defined in XML 1.0 syntax. XHTML 1.0 offers the following features:

► XHTML documents are XML conforming. As such, they are readily viewed, edited, and validated with standard XML tools.
► XHTML documents can be written to operate as well or better than they did before in existing HTML 4-conforming user ag Source:
Question: What's the advantages of XHTML?

Answer: 1. Mixed namespaces
2. Much simpler to work with (for programs, at least) than HTML
3. You will immediately know when your document is not well-formed due to an error from your UA. Source:
Question: What Is the Relation between XHTML and URL?

Answer: URL (Uniform Resource Locator) is a compact string representation of the location for a Web document or other resource that is available on the Internet.

The URL of an XHTML document is usually the document file name prefixed with the domain name of your Web server and the http protocol name. As soon as you uploaded an XHTML document to a Web server, that document will have a URL to represent its location on the Internet. For example, if you have a Web server with domain name like globalg Source:
Question: How does HTML differ from XHTML ?

Answer: XHTML has a small number of differences. The most noticeable being the requirement for elements to be lowercase (e.g. <p> and not <P>) and elements to be closed (e.g. paragraphs must end with a </p>). Source:
Question: How To Get Ready For XHTML?

Answer: XHTML is not very different from HTML 4.01, so bringing your code up to the 4.01 standard is a good start. In addition, you should start NOW to write your HTML code in lowercase letters. Source:
Question: What Is the Relation between XHTML and HTTP?

Answer: HTTP (Hyper-Text Transfer Protocol) is an Internet communication protocol, that allows a viewer's computer talking to a publisher's computer to fetch XHTML documents.

The viewer's computer issues a HTTP request message to the publisher computer first. Then the publisher returns a HTTP response message back to the viewer's computer with the requested XHTML document included in the message.

The following diagram shows how HTTP works with XHTML documents:
HTTP Diagr Source:
Question: Why do we need modular DTDs?

Answer: An application may wish to support only a subset of XHTML. For example a mobile phone, an Internet TV or even a Web-aware cooker may only require a subset of XHTML. Also modularity makes it easier to deploy new developments. Source:
Question: Why Code Your Own XHTML?

Answer: Programs that produce HTML for you often do so badly, often producing Web pages that do things the long way. When you code your pages by hand you have an intimate understanding of what you're doing, and can make the actual size of the Web page file as small as possible. This decreases download times, so your pages load faster and your users are happier.
When you use a program to generate HTML for you, you don't get the chance to understand how your page is built internally because it& Source:

1 2 3 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.046875 Seconds