CoolInterview.com - 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
COOLINTERVIEW.COM PROGRAMMING LANGUAGES INTERVIEW QUESTIONS XHTML INTERVIEW QUESTIONS 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: CoolInterview.com
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 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd. Source: CoolInterview.com
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: CoolInterview.com
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: CoolInterview.com
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: CoolInterview.com
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 http://www.w3.org/TR/xhtml1/. Source: CoolInterview.com
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: CoolInterview.com
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="http://www.globalguideline.com/">globalguideline.com</a>

The above an XHTML element has:

► A name called "a", which Source: CoolInterview.com
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: CoolInterview.com
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: CoolInterview.com
Question: Why we use XHTML?

Answer: XHTML pages can be read by all XML enabled devices AND while waiting for the rest of the world to upgrade to XML supported browsers, XHTML gives you the opportunity to write "well-formed" documents now, that work in all browsers and that are backward browser compatible
Since 1990, HTML (or Hyper Text Markup Language) has been the language recommended for creating Web pages. And it has been very successful . But HTML has its problems. Without going into specifics, as it's not the subject o Source: CoolInterview.com
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].
Source: http://www.w3.org/TR/xhtml-media-types/#text-html
Two choices:
1. XHTML 1.0 served as application/xhtml+xml to conform Source: CoolInterview.com
Question: What's the advantages of XHTML?

Answer: * Mixed namespaces
* Much simpler to work with (for programs, at least) than HTML
* You will immediately know when your document is not well-formed due to an error from your UA. Source: CoolInterview.com
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: CoolInterview.com
Question: Who Developed XHTML?

Answer: XHTML was developed by W3C HTML Working Group with Steven Pemberton as the group chair. Source: CoolInterview.com
Question: How to create XHTML pages?

Answer: The eGroups XHTML-L Web site provides links to XHTML tools, including conversion tools and editors. A couple of free tools are available (HTML-Kit, 1st Page 2000). Mozquito Factory appears to be the first licensed package on the market.
You can expect the usual suspects (Microsoft, Dreamweaver, etc) to bring out new versions of their products with XHTML support. Source: CoolInterview.com
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: CoolInterview.com
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: CoolInterview.com
Question: What Tools to Use to Write XHTML Documents?

Answer: The basic tool you need to write XHTML documents is any text editor, like notepad on Windows system, or vi on Unix system.
If you are looking for some advanced tools to help you writing XHTML documents, you can select any one from the following three categories of XHTML editors:

► Text based editor - Allows you to work on the text version of the XHTML document.
► WYSIWYG editor - Allows you to work on the rendered version of the XHTML document.
► Browser based e Source: CoolInterview.com
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: CoolInterview.com

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 Seconds