Xhtml Interview Questions with Answers
Question: 1. What Is Xhtml?
Answer:
XHTML stands for Extensible Hyper-Text Markup Language. XHTML is a scripting language that authors can use to embed text tags into a textual content report to feature structural and formatting records.
More precisely, XHTML offers authors the manner to:
Publish on line documents with headings, textual content, tables, lists, snap shots, etc.
Retrieve on line records through hypertext hyperlinks, at the click of a button.
Design forms for engaging in transactions with remote offerings, for use in attempting to find information, making reservations, ordering merchandise, etc.
Include unfold-sheets, video clips, sound clips, and other packages directly of their files.
Question 2. What Does An Xhtml Document Look Like?
Answer:
An XHTML report is a everyday textual content record with predefined tags combined with the textual content contents of the report. Tags are enclosed in pairs of perspective brackets: “<" and ">“.
Below is how a easy XHTML document will appear to be in case you open it in a text editor:
Hello global!
XML Interview Questions
Question 3. 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 essentially the same language as HTML 4. Zero. But XHTML 1.Zero is defined in XML1.Zero syntax. XHTML 1.0 gives the following features:
XHTML files are XML conforming. As such, they may be with ease viewed, edited, and proven with trendy XML gear.
XHTML files can be written to function as well or better than they did before in present HTML four-conforming person marketers as well as in new, XHTML 1.Zero conforming person sellers.
XHTML files can utilize programs (e.G. Scripts and applets) that depend upon both the HTML Document Object Model or the XML Document Object Model.
Question 4. What Is The Relation Between Xhtml And Xml?
Answer:
XML (Extensible Markup Language) is a common markup language to prepare common records into a structured document with embedded tags.
XHTML is completely based totally on XML. You can virtually say that XHTML is a toddler language of XML.
XML Tutorial
Question five. What Is The Relation Between Xhtml And The Web?
Answer:
The Web is a writer technology based totally at the Internet to permit publishers to publish hyper connected documents to be viewed by means of Internet users.
XHTML is the subsequent era language that used to compose the ones hyper related files. In any other phrase, XHTML is the technical language that controls Web page contents and hyper hyperlinks.
HTML four Interview Questions
Question 6. What Is The Relation Between Xhtml And Http?
Answer:
HTTP (Hyper-Text Transfer Protocol) is an Internet conversation protocol, that allows a viewer’s pc talking to a publisher’s computer to fetch XHTML documents.
The viewer’s computer problems a HTTP request message to the publisher pc first. Then the writer returns a HTTP response message again to the viewer’s computer with the requested XHTML record covered inside the message.
The following diagram shows how HTTP works with XHTML documents: HTTP Diagram
Question 7. What Is The Relation Between Xhtml And Url?
Answer:
URL (Uniform Resource Locator) is a compact string representation of the area for a Web report or other useful resource this is to be had at the Internet.
The URL of an XHTML document is typically the document report name prefixed with the domain name of your Web server and the http protocol name. As quickly as you uploaded an XHTML record to a Web server, that report may have a URL to symbolize its vicinity on the Internet.
For example: when you have a Web server with area name like wisdomjobs.Com, and you have uploaded an XHTML report referred to as welcome.Html,then the URL of that XHTML record on the Internet is http://www.Wisdomjobs.Com/html
HTML 4 Tutorial HTML Interview Questions
Question eight. What Is The Relation Between Xhtml And Sgml?
Answer:
SGML (Standard Generalized Markup Language) is a metalanguage wherein you’ll be able to define markup languages, like HTML, for files. SGML is a descendant of IBM’s Generalized Markup Language (GML), developed inside the 1960s by way of Charles Goldfarb, Edward Mosher and Raymond Lorie (whose surname initials also happen to be GML).
XHTML isn’t without delay related to SGML. But it’s far indirectly to SGML through HTML.
Question: nine. What Is The Relation Between Xhtml And Css?
Answer:
CSS (Cascading Style Sheets) is a technical specification that allows XHTML document authors to attach formatting style sheets to XHTML documents. When XHTML documents are viewed as Web pages via Web browsers, the connected fashion sheets will regulate the default style sheets embedded in browsers.
HTML 5 Interview Questions
Question 10. 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 files.
Since XHTML is a specific form of XML documents, you could use DTD to outline the structure of XHTML.
HTML Tutorial
Question 11. What Is An Xhtml Element Attribute?
Answer:
An detail attribute is a predefined assets approximately this element. Element attributes permits you to provide additional information to the element. Most XHTML elements have a few not unusual attributes. But many XHTML elements have their very own specific attributes.
Here are a few exact examples of detail attributes:
– No attribute.
...
...
HTML 4 Interview Questions
Question 19. What Is An Xhtml Element?
Answer:
An XHTML element is the simple building block of an XHTML document. An XHTML detail has the subsequent capabilities:
An XHTML detail need to have a call.
An XHTML detail might also have 0 or more attributes.
An XHTML detail may additionally or might not have any content. Here is a good example of an XHTML detail:
globalguideline. Com a>
The above an XHTML element has:
A call referred to as "a", that's coded at the start of the opening tag.
An attribute called "href'', that's coded inside the opening tag. It additionally has a fee distinctive after the "=" sign.
A string of text because the content material, which is coded between the hole tag and final tag.
CSS Tutorial
Question 20. What Tools To Use To View Xhtml Documents?
Answer:
The fundamental device you want to view XHTML files is any Web browser, like Internet Explorer(IE) or FireFox.
The following educational shows you how to view a XHTML report with :
Write an XHTML report and save it as howdy.Html.
Run IE and pick out the File > Open menu. The Open dialog box indicates up.
Use the Browse button to locate and pick your XHTML record, hello.Html.
Click OK, IE will open hey.Html and will let you view it.
Here is a how your XHTML file, hiya.Html, will look like if viewing it with IE: Hello in IE.
Java Interview Questions
Question 21. What Tools To Use To Writexhtml Documents?
Answer:
The primary tool you need to jot down XHTML files is any text editor, like notepad on Windows device, or vi on Unix system.
If you're seeking out some advanced equipment that will help you writing XHTML files, you may select any one from the subsequent 3 classes of XHTML editors:
Text based editor: Allows you to paintings at the textual content model of the XHTML record.
WYSIWYG editor: Allows you to work at the rendered version of the XHTML document.
Browser primarily based editor: A WYSIWYG editor incorporated into an existing Web browser.
XHTML editors also can be loaded with additional functionalities to permit you work with other Web technologies like CSS and JavaScript,or post the XHTML files to your Web server.
Question: 22. How To Validate Xhtml Documents Online?
Answer:
If you have got simply finished a brand new XHTML document, and you want to make sure that confirms with the XHTML specification.
There are three methods you could use this validator:
By URL: Specify the URL wherein your XHTML file is located, and click "Check".
By File Upload: Use the "Browse" to discover an XHTML report in your neighborhood tough disk, and click "Check".
By Direct Input: Copy & paste the content material of an XHTML report to the enter place, and click "Check".
The validator will go back a page with validation end result.
XHTML Tutorial
Question 23. How Many Tags Are Defined In Xhtml 1.Zero?
Answer:
There are 77 tags defined in XHTML 1.Zero:
a abbr acronym deal with place b base bdo huge blockquote frame br button caption cite code col colgroup dd del dfn div dl dt em fieldset form hl h2 h3 h4 h5 h6 head hr html i img input inskbd label legend li link map meta noscript item oloptgroup option p param pre q samp script select small span sturdy fashion sub sup table tbody td textarea tfoot th thead title tr tt ul var.
CSS Interview Questions
Question 24. What Is The Latest Xhtml Specification?
Answer:
The state-of-the-art XHTML specification is XHTML 1. 0 2nd version revised in August, 2002 by means of W3C.
HTML Interview Questions
Question 25. Who Developed Xhtml?
Answer:
XHTML turned into advanced by using W3C HTML Working Group with Steven Pemberton as the institution chair.
