XHTML in web design

written by: Sandra; article published: year 2010, month 04;

In: Root » Internet » Web design and development

  Share  
|
  PL  |  NL  |  FR  |  ES  |  PT  |  IT  |  DE  |  DK  |  NO  |  SE  |  FI  |  GR  |  JP  |  CN  |  KR  |  RU  |  AE


Brief description

Network is changing. In fact, the networks are changing every day: different languages, algorithms, concepts and thinking. As you have just finished learning HTML, XHTML seems to faint there.

XHTML Introduction

XHTML (Extensible Hypertext Markup Language) is the definition of HTML in the XML category in the standard of Generalized Markup Language. XHTML1.0 on January 26, 2000 is as a W3C recommended standards, that is: HTML 4.0 / 4.01. XHTML, HTML and XML are closely related. XHTML 1.1 on March 31, 2001 becomes a W3C Recommendation. In addition, XHTML Basic is as a subset of HTML language recommended by W3C about the development of mobile devices. XHTML 2.0, new version will contain valuable support and very important new model. It can make the site look more dynamic, and well defined form of the site.

The ten commandments of XHTML

XHTML like every case in life has its own criteria. There are 10 criteria for the Xhtml document published by the W3C; and the Ten Commandments are similar with XML.

1 XHTML / XML should be in the proper use of the Internet.

2 XHTML / XML should support all types of applications.

3 XHTML / XML should be compatible with SGML [Standard Generalized Markup Language].

4 For the implementation of the XHTML / XML documents, it should be very easy to write programs.

5 XHTML / XML few additional features should be absolute, not even.

6 XHTML / XML documents should be legible.

7 Using XHTML / XML to web design should have the characteristics of convenience.

8 using XHTML / XML to web design should be formal and concise.

9 XHTML / XML documents should be easy to create.

10 The need to simplify the XHTML / XML tags is not important.

Creating a form of good, effective XHTML document must follow these guidelines.

The criteria you must know

In the XHTML document itself, some things must meet the so-called "standards." If you want to create effective XHTML document right, then you must follow these guidelines:

XHTML elements must be properly nested.

XHTML document format must be precise.

The definition of the label is with lowercase letters.

All XHTML elements must have a terminator.

Properly nested elements means that you cannot like this illegal nested tags:

It should be nested like this:

Must define the correct format, at the same time, it can help you maintain a good structure. This is not just for XHTML is, and also includes the whole process.

XHTML elements must be nested inside the root element <html>. However, other elements can contain child elements. Sub-element must be paired, and are properly nested in their parent element.

Use lower case letters. For XHTML, the capital letters are never used. All labels must be ending, even empty tags. In HTML4.0 / 4.01, empty tags do not require a corresponding end tag, such as: line breaks <br>, paragraph tag <p> etc.

You at least follow the basic guidelines for the four XHTML. Purpose is to correctly create effective XHTML code.

XHTML is a markup language written using XML; therefore, it is an XML application. Therefore, XML is part of XHTML. This is why you need define document format well, which is a valid reason for the overall, only to be called XHTML documents. "XHTML's Ten Commandments" are the same as XML's. Therefore, the concise description rather than a professional of XHTML: XHTML is a hybrid of HTML and XML.

Share

Disclaimer

1) E-articles is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringement, please read the terms of service and contact us or use the "Report this article" button on this page to investigate the problem.
2) E-articles is not responsible for inaccuracies, falsehoods, or any other types of misinformation this article may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here.