Tuesday, July 27, 2010

XHTML basic questions and answers - for beginners


HTML language is a tool to create web pages, it appears from the developed to standardize the continuous improvement and more powerful. But there are still flaws and shortcomings, people still continued to improve it, make it more easy to control and have flexibility to adapt to changing network applications. The end of 2000, the International W3C (World Wide Web Consortium) organization issued a public version of XHTML 1.0, XHTML and HTML, XML any different from what it added new features to an initial understanding of today, let's look at XHTML.

XHTML 1.0 is a basis in the HTML 4.0 Optimization and improvement of the new language, aimed at XML-based applications. XHTML is an increased of HTML, its scalability and flexibility to accommodate future network applications demand more. The following are W3C's HTML Working Group Chairman Steven Pemberton answer basic questions about the common XHTML.

Q: What is XHTML?

A: XHTML is an XML and reinvented to adapt to the HTML. As XML is increasingly becoming a trend, the question arises: if we have the XML, we still need HTML? To answer this question, in May 1998 we had two days in San Francisco Kai's working meeting The conclusion is: Yes. We still need to use HTML. Because a lot of people have been accustomed to using HTML as their language, and has hundreds of millions of pages are written using HTML.

Q: Why is HTML 4.0 XHTML 1.0 is relatively independent development?

Answer: not the case. XHTML is HTML 4.0 is precisely the re-organization, (the exact it is HTML 4.01, is a modified version of HTML 4.0, XHTML 1.0 is just to name the issue.) XML in their interpretation will be some necessary differences, but others On the one hand, they are still very similar, we can work as XHTML is HTML 4.0 based on continuity.

Q: XHTML 1.0 How XML standards?

A: XHTML is a XML application. It uses XML, DTD file format definition, and run the system in support of XML. Here thanks to XML, Namespaces functionality, browser makers do not need to create a new private labels (tags), they only need to include in the XHTML code in XML code fragments, XHTML or XML code in the code fragment contains.

Q: XHTML 1.0 The main strengths?

Answer: XML is a web development trends, so people eager to join the trend of XML. Use XHTML 1.0, as long as you carefully follow some simple rules, you can design a system both for XML, but also most of the HTML for the current browser page. This means is that you can use immediately design XML, without having to wait until people are used to support XML browser. The guidelines allow web smooth transition to XML.

Another advantage of using XHTML is: it is very tight. The current network situation shocking bad HTML, the early HTML browser to accept private label, so people in page design must be used after the detection of a variety of browser pages to see if compatible, there are many unexplained differences People have to modify the design to adapt to a different browser.

Using XML we can re-establish the system of joint use of the browser manufacturers, "a strict standard error defense", if the XML code is not compatible, the browser refused to display the page, so the design must be revised before the release of each error.

Q: Using XHTML, and HTML page designers will face the same browser compatibility problem?

A: I hope not. "Stringent standard error defense" will help the browser to respond to the same code, XML's namespaces feature allows you to increase your own new label without requiring special browser support. Now we need to be assured of is that: all browser developers to fully comply with our agreement and the development of CSS. Write to your browser manufacturer, told the CSS specification you need, you can even detect if the browser is to follow your design.

Q: XHTML is very difficult to learn?

A: Not at all!

Q: Who can design using XHTML 1.0?

A: Because XHTML is very simple and easy to implement, so any people who will use the HTML can be easy to use XHTML. When using the XML browser on it increasingly more and more work will be recommended to use XML, then Hussein may have to use XHTML.

Q: When XHTML Web site popular?

A: Good question. I've seen some sites built using XHTML, even in XHTML 1.0 release before. I believe it will be a big development, because it is too easy.

Q: How do we convert existing HTMl XHTML?

A: Very simple, because they are very similar. In the W3C (www.w3c.org) site has an open source code (open-source) software called HTML Tidy, can help you direct conversion.

Q: XHTML What about the future?

A: XHTML1.0 just the first step in this new HTML language. The new version will not have backwards compatibility with older browsers constraints, can have more space for development.

First, we will conduct a thorough cleaning, remove the HTML 4.0 elements are not compatible.

Secondly, we will XHTML modular, allowing people to use XHTML in XML application module (such as tables), to reduce duplication of development. Also allows developers to design special purpose, such as telephony applications, so long as belonging to a subset of XHTML can be compatible, people can create their own HTML.

Finally, in addressing the demand side, we will develop more of the form (Forms) feature that allows the client to perform more testing, to reduce the client - server network information transmission. In short, the more exciting features will be realized.






Recommended links:



Kunlun Hotel Liaocheng use Maxima



New worm Floodnet (cute) little files



Swf to flv



how to convert flv to 3gp



China Anti-Fraud Alliance in the fight should not be a person



With "color" to discuss and beauty attack "light"



"Random eight-digit" Beware OF your U disk



ILM concept Of competing



Compare Themes And Wallpaper



Kids Education INTRODUCTION



Lei Jun Served Its Purpose, Soul Shine Jinshan



Backup And Restore Directory



Launchers And Task Managers Wizard



M4a To M4r



CONVERT mkv



No comments:

Post a Comment