Amdocs Most Frequently Asked Latest HTML Interview Questions Answers
What Is Xhtml Modularization?
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 into larger and more complex applications.
Why Do We Need Modular Dtds?
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.
What Tools To Use To Write Xhtml Documents?
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.
How To Get Ready For Xhtml?
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 elements must be properly nested
XHTML documents must be well-formed
Tag names must be in lowercase
All XHTML elements must be closed
What's About An Assumption With Xhtml?
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.
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 conforming UAs, and text/html to Internet Explorer
2. HTML 4.01, served as text/html
XHTML 1.1 is not an option because it mandates a MIME type of application/xhtml+xml which is incompatible with Internet Explorer.
How You Use Form's Action Attribute And Submit Button In Html?
What Is Xhtml Modularization?
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 into larger and more complex applications.
Why Do We Need Modular Dtds?
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.
What Tools To Use To Write Xhtml Documents?
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.
How To Get Ready For Xhtml?
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 elements must be properly nested
XHTML documents must be well-formed
Tag names must be in lowercase
All XHTML elements must be closed
What's About An Assumption With Xhtml?
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.
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 conforming UAs, and text/html to Internet Explorer
2. HTML 4.01, served as text/html
XHTML 1.1 is not an option because it mandates a MIME type of application/xhtml+xml which is incompatible with Internet Explorer.
How To Create Tables In Html?
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.
Basic syntax to create an Table are given below
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
<td>row 1, cell 3</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
<td>row 2, cell 3</td>
</tr>
</table>
Write Some Useful Table Tags That We Use In Html?
I have display the list of some tags that we used in HTML table.These tags are
<table> : This is started tag of table.All other table tags works inside this tag.
<th> : This is used to write header on table.
<tr> : This is used to create row on table.
<td> This is used to create table cells.
<caption> : This is specifies the table caption.
<colgroup> : Specifies the group of columns in table.
<col> : Using then we can set the attribute value for one or more columns in table.
<thead> : This is used to set table head.
<tbody> : This is used to set table body.
<tfoot> : This is used to set table border.
How You Use Form's Action Attribute And Submit Button In Html?
Using Submit Button we can sends the form to the server and Action Attribute is specified that which file we send.
<form name="input" action="submit_form.php"
method="get"><input type="hidden" name="phpMyAdmin" value="f43d4e0b88acea2d2a393515f6bf38f2" /><input type="hidden" name="phpMyAdmin" value="70ac9566533a2665b6597346aab7f985" />
Formname
<input type="text" name="Form">
<input type="submit" value="Submit">
</form>
When we click the sumbit button web page than the submit_form is send to the server.
Xhtml Should Be The Master Storage Format For My Resources?
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.
Can We Get Down To Practicalities. How Do I Create Xhtml Pages?
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.
What About Conversion Of Existing Html Pages – Especially Bulk Conversion, As I Have Many Thousands Of Html Files!
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.
What Do You Understand About Doctype In Html?
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.
Example of Document Type Declaration in HTML 4 are,
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">.
Post a Comment