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 Is The Latest Xhtml Specification? |
|
Answer» The latest XHTML specification is XHTML 1. 0 second edition REVISED in August, 2002 by W3C. The latest XHTML specification is XHTML 1. 0 second edition revised in August, 2002 by W3C. |
|
| 2. |
How To Validate Xhtml Documents Online? |
|
Answer» If you have just finished a new XHTML document, and you want to make sure that confirms with the XHTML specification. There are 3 ways you can USE this VALIDATOR: By URL: SPECIFY the URL where your XHTML document is located, and click "Check". By File Upload: Use the "Browse" to locate an XHTML document on your local hard disk, and click "Check". By Direct Input: Copy & paste the content of an XHTML document to the input area, and click "Check". If you have just finished a new XHTML document, and you want to make sure that confirms with the XHTML specification. There are 3 ways you can use this validator: By URL: Specify the URL where your XHTML document is located, and click "Check". By File Upload: Use the "Browse" to locate an XHTML document on your local hard disk, and click "Check". By Direct Input: Copy & paste the content of an XHTML document to the input area, and click "Check". |
|
| 3. |
What Tools To Use To Writexhtml 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 editor: A WYSIWYG editor integrated into an existing Web browser. 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: 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 editor: A WYSIWYG editor integrated into an existing Web browser. 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. |
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 :
Here is a how your XHTML document, hello.html, will look like if viewing it with IE: Hello in IE. 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 : Here is a how your XHTML document, hello.html, will look like if viewing it with IE: Hello in IE. |
|
| 5. |
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. The above an XHTML element has:
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. The above an XHTML element has: |
|
| 6. |
How To Entercomments Into Xhtml Documents? |
|
Answer» If you want to enter COMMENTS into an XHTML DOCUMENT, you can use the comment tag: "<!-- ... -->" Here are some good examples ofXHTML comments: <!-- Start north BANNER--> ... If you want to enter comments into an XHTML document, you can use the comment tag: "<!-- ... -->" Here are some good examples ofXHTML comments: <!-- Start north banner--> ... |
|
| 7. |
How To Writethe Opening Tag Of An Xhtml Element? |
|
Answer» When you are WRITING an XHTML element, you must start with its opening tag, which contains the name of the element and attributes if needed. The opening tag is enclosed in a pair of angle brackets:"<" and">". XHTML element names are PREDEFINED by the XHTML SPECIFICATION. You can not make up your own tag names. Here are some good EXAMPLES ofXHTML element opening tags: <html> - Opening tag of the html element. When you are writing an XHTML element, you must start with its opening tag, which contains the name of the element and attributes if needed. The opening tag is enclosed in a pair of angle brackets:"<" and">". XHTML element names are predefined by the XHTML specification. You can not make up your own tag names. Here are some good examples ofXHTML element opening tags: <html> - Opening tag of the html element. |
|
| 8. |
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">". Here are some good examples of closing XHTML elements: <html> </html>- Closing the html element with a closing tag. 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">". Here are some good examples of closing XHTML elements: <html> </html>- Closing the html element with a closing tag. |
|
| 9. |
What Is Wrongwith My <br> Tags? |
|
Answer» <P>If you are used HTML syntax, you may write your <br> tags as in the paragraph below: <p> I love the way you look at me, <br> Your EYES so bright and BLUE.<br> I love the way you kiss me,<br> Your LIPS so soft and smooth.<br> </p> But that paragraph will be invalid as XHTML documents, because all 4 <br> are not closed. You should change it to: <p> I love the way you look at me, <br/> Your eyes so bright and blue.<br/> I love the way you kiss me,<br/> Your lips so soft and smooth.<br/> </p> If you are used HTML syntax, you may write your <br> tags as in the paragraph below: <p> I love the way you look at me, <br> Your eyes so bright and blue.<br> I love the way you kiss me,<br> Your lips so soft and smooth.<br> </p> But that paragraph will be invalid as XHTML documents, because all 4 <br> are not closed. You should change it to: <p> I love the way you look at me, <br/> Your eyes so bright and blue.<br/> I love the way you kiss me,<br/> Your lips so soft and smooth.<br/> </p> |
|
| 10. |
What Is Wrongwith My <meta> Tags? |
|
Answer» If you are converting existing HTML documents to XHTML format, you may find some <META> tags are written as: <meta NAME="AUTHOR" content="wisdomjobs.com"> But all those <meta> tags are invalid in a XHTML document. They must be closed as: <meta name="Author" content="wisdomjobs.com"/> Note to HTML document authors: <meta> tag SYNTAX in XHTML is the opposite to <meta> tag syntax in HTML. In XHTML, meta tag must be closed. But in HTML, meta tag can not be closed. If you are converting existing HTML documents to XHTML format, you may find some <meta> tags are written as: <meta name="Author" content="wisdomjobs.com"> But all those <meta> tags are invalid in a XHTML document. They must be closed as: <meta name="Author" content="wisdomjobs.com"/> Note to HTML document authors: <meta> tag syntax in XHTML is the opposite to <meta> tag syntax in HTML. In XHTML, meta tag must be closed. But in HTML, meta tag can not be closed. |
|
| 11. |
How To Enterelement Content? |
|
Answer» <P>Most ofXHML 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. Here are some good examples ofXHTML elements with contents: ~ <title>My First XHTML Document</title> Most ofXHML 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. Here are some good examples ofXHTML elements with contents: ~ <title>My First XHTML Document</title> |
|
| 12. |
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. 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. |
|
| 13. |
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 wisdomjobs.com, and you have uploaded an XHTML document called welcome.html,then the URL of that XHTML document on the Internet is http://www.wisdomjobs.com/html 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 wisdomjobs.com, and you have uploaded an XHTML document called welcome.html,then the URL of that XHTML document on the Internet is http://www.wisdomjobs.com/html |
|
| 14. |
What Is The Relation Between Xhtml And Xml? |
|
Answer» XML (Extensible Markup Language) is a generic markup language to organize generic INFORMATION into a structured document with embedded TAGS. XHTML is entirely BASED on XML. You can actually say that XHTML is a CHILD language of XML. XML (Extensible Markup Language) is a generic markup language to organize generic information into a structured document with embedded tags. XHTML is entirely based on XML. You can actually say that XHTML is a child language of XML. |
|
| 15. |
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 XML1.0 syntax. XHTML 1.0 offers the following features:
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 XML1.0 syntax. XHTML 1.0 offers the following features: |
|
| 16. |
What Does An Xhtml Document Look Like? |
|
Answer» An XHTML document is a normal text file with predefined tags mixed with the text CONTENTS of the document. Tags are enclosed in pairs of ANGLE brackets: "<" and ">". Below is how a simple XHTML document will look like if you open it in a text editor: <?xml version="l.O" encoding="UTF-8"?> An XHTML document is a normal text file with predefined tags mixed with the text contents of the document. Tags are enclosed in pairs of angle brackets: "<" and ">". Below is how a simple XHTML document will look like if you open it in a text editor: <?xml version="l.O" encoding="UTF-8"?> |
|
| 17. |
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 text document to add structural and formatting information. More precisely, XHTML gives authors the means to:
XHTML stands for Extensible Hyper-Text Markup Language. XHTML is a scripting language that authors can use to embed text tags into a text document to add structural and formatting information. More precisely, XHTML gives authors the means to: |
|