InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What's About An Assumption With Xhtml? |
|
Answer» Serving XHTML with a MIME TYPE of text/html is wrong. Serving XHTML with a MIME type of text/html is wrong. |
|
| 2. |
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. The Most Important Differences:
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. The Most Important Differences: |
|
| 3. |
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:
XHTML editors can also be loaded with additional FUNCTIONALITIES to allow you work with other Web technologies like CSS and JavaScript, or publish the XHTML documents to your Web server.
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: XHTML editors can also be loaded with additional functionalities to allow you work with other Web technologies like CSS and JavaScript, or publish the XHTML documents to your Web server.
|
|
| 4. |
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. 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. |
|
| 5. |
What Is Xhtml Modularization? |
Answer»
|
|
| 6. |
What Is The Relation Between Xhtml And The Web? |
|
Answer» The Web is a publisher technology based on the Internet to ALLOW publishers to publish hyper LINKED documents to be viewed by Internet users. XHTML is the NEXT generation language that used to COMPOSE those hyper linked documents. In another word, XHTML is the technical language that controls Web page CONTENTS and hyper links. The Web is a publisher technology based on the Internet to allow publishers to publish hyper linked documents to be viewed by Internet users. XHTML is the next generation language that used to compose those hyper linked documents. In another word, XHTML is the technical language that controls Web page contents and hyper links. |
|
| 7. |
What Is The Relation Between Xhtml And Http? |
|
Answer» HTTP (HyperText 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. HTTP (HyperText 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. |
|
| 8. |
What Is The Relation Between Xhtml And Sgml? |
|
Answer» SGML (Standard Generalized Markup Language) is a metalanguage in which one can define markup languages, LIKE HTML, for documents. SGML is a DESCENDANT of IBM’s Generalized Markup Language (GML), developed in the 1960s by Charles Goldfarb, Edward Mosher and Raymond Lorie (whose surname initials also HAPPEN to be GML). XHTML is not directly related to SGML. But it is indirectly to SGML through HTML. SGML (Standard Generalized Markup Language) is a metalanguage in which one can define markup languages, like HTML, for documents. SGML is a descendant of IBM’s Generalized Markup Language (GML), developed in the 1960s by Charles Goldfarb, Edward Mosher and Raymond Lorie (whose surname initials also happen to be GML). XHTML is not directly related to SGML. But it is indirectly to SGML through HTML. |
|
| 9. |
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 through Web browsers, the attached style sheets will ALTER the default style sheets EMBEDDED in browsers. 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 through Web browsers, the attached style sheets will alter the default style sheets embedded in browsers. |
|
| 10. |
How Many Tags Are Defined In Xhtml 1.0? |
|
Answer» There are 77 tags defined in XHTML 1.0: a abbr acronym address AREA b base bdo big blockquote body br button caption cite code col colgroup dd del dfn div dl dt em fieldset form h1 h2 h3 h4 h5 h6 head hr html i IMG input ins kbd label legend li link map meta noscript object ol optgroup option p PARAM pre q samp script select small span strong style sub sup table tbody td textarea tfoot th thead title tr tt UL var. There are 77 tags defined in XHTML 1.0: a abbr acronym address area b base bdo big blockquote body br button caption cite code col colgroup dd del dfn div dl dt em fieldset form h1 h2 h3 h4 h5 h6 head hr html i img input ins kbd label legend li link map meta noscript object ol optgroup option p param pre q samp script select small span strong style sub sup table tbody td textarea tfoot th thead title tr tt ul var. |
|
| 11. |
Who Developed Xhtml? |
|
Answer» XHTML was developed by W3C HTML WORKING Group with Steven Pemberton as the group CHAIR. XHTML was developed by W3C HTML Working Group with Steven Pemberton as the group chair. |
|
| 12. |
How To Enter Element Content? |
|
Answer» Most of XHML ELEMENTS allow you to specify CONTENTS. But there are some XHTML elements that do not allow any contents. If an XHTML element does allow element content, you need to enter the content between the opening TAG and the CLOSING tag.
Most of XHML elements allow you to specify contents. But there are some XHTML elements that do not allow any contents. If an XHTML element does allow element content, you need to enter the content between the opening tag and the closing tag.
|
|
| 13. |
Is Xhtml Element Name Case Sensitive? |
|
Answer» Yes, XHTML ELEMENT names are case SENSITIVE. All element names must be written in lower case letters. Here are some valid and invalid XHTML element names:
NOTE to HTML document authors: HTML element names are not case sensitive. But XHTML element names are case sensitive. If you are CONVERTING existing HTML documents to XHTML documents, you will get a lots of syntax errors about upper case letters used in HTML tags. Yes, XHTML element names are case sensitive. All element names must be written in lower case letters. Here are some valid and invalid XHTML element names: Note to HTML document authors: HTML element names are not case sensitive. But XHTML element names are case sensitive. If you are converting existing HTML documents to XHTML documents, you will get a lots of syntax errors about upper case letters used in HTML tags. |
|
| 14. |
What Is An Xhtml Element Attribute? |
|
Answer» <P>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.
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. |
|
| 15. |
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. 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. |
|
| 16. |
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. 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. |
|
| 17. |
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. 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. |
|
| 18. |
What About Conversion Of Existing Html Pages – Especially Bulk Conversion, As I Have Many Thousands Of Html Files! |
|
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. 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. |
|
| 19. |
Can We Get Down To Practicalities. How Do I 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. 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. |
|
| 20. |
Xhtml Should Be The Master Storage Format For My Resources? |
|
Answer» NO! XHTML still lacks semantics. IDEALLY your resources should be stored in an APPROPRIATE XML FORMAT. XSLT can then be used to convert the resources to XHTML (for Web browsers), WML (for mobile phones), etc. XHTML is a USEFUL intermediate stage. NO! XHTML still lacks semantics. Ideally your resources should be stored in an appropriate XML format. XSLT can then be used to convert the resources to XHTML (for Web browsers), WML (for mobile phones), etc. XHTML is a useful intermediate stage. |
|
| 21. |
How You Use Form's Action Attribute And Submit Button In Html? |
|
Answer» Using Submit BUTTON we can sends the FORM to the server and Action Attribute is specified that which file we send. Using Submit Button we can sends the form to the server and Action Attribute is specified that which file we send. |
|
| 22. |
Write Some Useful Table Tags That We Use In Html? |
|
Answer» I have display the list of some TAGS that we used in HTML table.These tags are:
I have display the list of some tags that we used in HTML table.These tags are: |
|
| 23. |
How To Create Tables In Html? |
|
Answer» We use <table> tag to create the table in HTML. After creating an table we use <tr> tag to create the rows.And use <td> to create data cell on each row.These cell can store IMAGES,text,TABLES,list etc. We use <table> tag to create the table in HTML. After creating an table we use <tr> tag to create the rows.And use <td> to create data cell on each row.These cell can store images,text,tables,list etc. |
|
| 24. |
How Comfortable Are You With Writing Html Entirely By Hand? |
|
Answer» I don’t USUALLY use WYSIWYG. The only occasions when I do use Dreamweaver are when I want to draw something to see what it looks like, and then I’ll usually either take that design and hand-modify it or build it all over again from scratch in code. I have actually written my own desktop HTML IDE for Windows (it’s CALLED LESS Than Slash) with the intention of deploying it for use in web development TRAINING. If has built-in reference features, and will autocomplete code by parsing the DTD you specify in the file. That is to say, the program doesn’t know anything about HTML until after it parses the HTML DTD you specified. This should give you some idea of my skill level with HTML. I don’t usually use WYSIWYG. The only occasions when I do use Dreamweaver are when I want to draw something to see what it looks like, and then I’ll usually either take that design and hand-modify it or build it all over again from scratch in code. I have actually written my own desktop HTML IDE for Windows (it’s called Less Than Slash) with the intention of deploying it for use in web development training. If has built-in reference features, and will autocomplete code by parsing the DTD you specify in the file. That is to say, the program doesn’t know anything about HTML until after it parses the HTML DTD you specified. This should give you some idea of my skill level with HTML. |
|
| 25. |
What Is Everyone Using To Write Html? |
|
Answer» 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. 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. |
|
| 26. |
What Is A Doctype? Which One Do I Use? |
|
Answer» 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. 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. |
|
| 27. |
How Do I Use Forms? |
|
Answer» The BASIC SYNTAX for a form is: <FORM ACTION="[URL]">…</FORM>
The basic syntax for a form is: <FORM ACTION="[URL]">…</FORM> |
|
| 28. |
How Can I Check For Errors? |
Answer»
|
|
| 29. |
How Can I Use Forms For Pull-down Navigation Menus? |
|
Answer» There is no way to do this in HTML only; something else must process the form. JavaScript processing will work only for readers with JavaScript-enabled BROWSERS. CGI and other server-side processing is reliable for HUMAN readers, but search engines have problems following any form-based NAVIGATION. There is no way to do this in HTML only; something else must process the form. JavaScript processing will work only for readers with JavaScript-enabled browsers. CGI and other server-side processing is reliable for human readers, but search engines have problems following any form-based navigation. |
|
| 30. |
Can I Have Two Or More Actions In The Same Form? |
|
Answer» No. A form must have EXACTLY one action. However, the server-side (e.g., CGI) program that processes your form submissions can perform any number of tasks (e.g., UPDATING a database, sending email, logging a TRANSACTION) in RESPONSE to a single form submission. No. A form must have exactly one action. However, the server-side (e.g., CGI) program that processes your form submissions can perform any number of tasks (e.g., updating a database, sending email, logging a transaction) in response to a single form submission. |
|
| 31. |
Do I Have To Memorize A Bunch Of Tags? |
|
Answer» No. Most programs that help you WRITE HTML CODE already know most tags, and create them when you press a button. But you should understand what a tag is, and how it works. That way you can CORRECT errors in your PAGE more EASILY. No. Most programs that help you write HTML code already know most tags, and create them when you press a button. But you should understand what a tag is, and how it works. That way you can correct errors in your page more easily. |
|
| 32. |
Why Is There Extra Space Before Or After My Table? |
|
Answer» This is often caused by invalid HTML SYNTAX. Specifically, it is often caused by loose CONTENT within the table (i.e., content that is not inside a TD or TH element). There is no standard way to handle loose content within a table. Some browsers display all loose content before or after the table. When the loose content contains only multiple line breaks or empty paragraphs, then these browsers will display all this empty space before or after the table itself. The solution is to fix the HTML syntax errors. All content within a table MUST be within a TD or TH element. This is often caused by invalid HTML syntax. Specifically, it is often caused by loose content within the table (i.e., content that is not inside a TD or TH element). There is no standard way to handle loose content within a table. Some browsers display all loose content before or after the table. When the loose content contains only multiple line breaks or empty paragraphs, then these browsers will display all this empty space before or after the table itself. The solution is to fix the HTML syntax errors. All content within a table must be within a TD or TH element. |
|
| 33. |
Attributes Values Must Be In Double Or Single Quotes |
|
Answer» <ol TYPE=1> <ol type=1> |
|
| 34. |
How To Build A "hello World" Page. With Xhtml ? |
|
Answer» <P>"Hello World" Web PAGE code LOOKS like this: "Hello World" Web page code looks like this: |
|
| 35. |
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. 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. |
|
| 36. |
What Are The Advantages Of Xhtml? |
|
Answer» Some main advantage of XHTML are given below: Some main advantage of XHTML are given below: |
|
| 37. |
Tell Me How To Convert An Html Page Into Xhtml? |
|
Answer» If we want to convert HTML pages into XHTML than you have to insert some lines at the starting of document. <?xml version="1.0" encoding="UTF-8"?> If we want to convert HTML pages into XHTML than you have to insert some lines at the starting of document. <?xml version="1.0" encoding="UTF-8"?> |
|
| 38. |
Why Is This Xslt Important? |
|
Answer» Rather than manually CREATING WML markup, XSLT will ENABLE XHTML documents to be automatically converted to WML. Rather than manually creating WML markup, XSLT will enable XHTML documents to be automatically converted to WML. |
|
| 39. |
Write Example That Shows Every Attribute Must Have A Value In Xhtml? |
|
Answer» Using EXAMPLE I will SHOW you in XHTML every attribute must have a value. Using example I will show you in XHTML every attribute must have a value. |
|
| 40. |
In Xhtml Tags May Overlap Or Not? |
|
Answer» In XHTML tags MAY not be overlapped. In XHTML tags may not be overlapped. |
|
| 41. |
Is Is Right Only Certain Tags May Nest Inside Other Tags In Xhtml? |
|
Answer» Yes, In XHTML we can insert only CERTAIN tags inside other tags. Example: Yes, In XHTML we can insert only certain tags inside other tags. Example: |
|
| 42. |
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 not have the computing power of a desktop computer, and will not be designed to accommodate ill-formed HTML as do current browsers. Currently, the Netscape browser helps greatly for testing web pages by displaying blank or broken pages when it comes across sloppy coding. IE is the most forgiving browser and will SHOW almost any PAGE no matter the extent of coding ERRORS. While HTML itself isn't completely lacking in extensibility or portability but the evolution of it has been extremely slow compared to the pace of Internet development. This fuels the problems encountered trying to make your pages work on a wide range of browsers and platforms. XHTML will help to remedy those problems. 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 not have the computing power of a desktop computer, and will not be designed to accommodate ill-formed HTML as do current browsers. Currently, the Netscape browser helps greatly for testing web pages by displaying blank or broken pages when it comes across sloppy coding. IE is the most forgiving browser and will show almost any page no matter the extent of coding errors. While HTML itself isn't completely lacking in extensibility or portability but the evolution of it has been extremely slow compared to the pace of Internet development. This fuels the problems encountered trying to make your pages work on a wide range of browsers and platforms. XHTML will help to remedy those problems. |
|
| 43. |
What Is Xhtml Validation? |
|
Answer» XHTML validation is the PROCESS of validating XHTML DOCUMENT with W3C’s validator XHTML validation is the process of validating XHTML document with w3c’s validator |
|
| 44. |
What Is Xhtml Modularization? Why Xhtml Modularization? |
Answer»
|
|
| 45. |
How Is Xhtml Better Than Html? |
|
Answer» The following are the reasons for why XTML is better than HTML:
The following are the reasons for why XTML is better than HTML: |
|
| 46. |
Differences Between Xml And Html |
|
Answer» Since XML and HTML are derived from SGML they are similar, but have the following differences: Since XML and HTML are derived from SGML they are similar, but have the following differences: |
|
| 47. |
Why To Use Xhtml? |
| Answer» | |
| 48. |
What Is Xhtml? Why Xhtml? |
|
Answer» XHTML stands for Extensible Hypertext MARKUP LANGUAGE. It is a COMBINATION of XML and HTML capabilities. XHTML can be viewed as intersection of HTML and XML in MANY aspects. XHTML stands for Extensible Hypertext Markup Language. It is a combination of XML and HTML capabilities. XHTML can be viewed as intersection of HTML and XML in many aspects. |
|