 | 
01-14-2009, 05:35 AM
| | Member | | Join Date: Jan 2009
Posts: 54
| | Convert HTML to XHTML There are a few basic rules you need to apply to convert an HTML 4 document to XHTML. 1. Stricter adherence to the HTML specification.
Many browsers are very lax in how they interpret HTML. This leads to incongruities in how the pages are displayed, and XHTML doesn't allow that. The best way to correct this is to use an XHTML validator. 2. Write well formed documents.
What this generally means is avoiding overlapping elements. The following nested code is acceptable:
<p>Paragraph <em>emphasized</em></p>
because the <em> tag is opened and closed within the <p> tag. However, this is not allowed:
<p>Paragraph <em>emphasized</p></em>
because the <em> tag overlaps the <p> tag. 3. Write tags and attributes in lowercase.
XHTML is a case-sensitive markup language, so
<LI> and <li>
are potentially two different tags. 4. End tags are required.
In HTML, some tags which actually contain elements do not require the end tag. The most common of these is the
<p>
tag. XHTML requires that the
</p>
tag be used. For singleton tags, such as
<br>
you should include a trailing slash in the tag itself, e.g.
<br />
to get a line break. 5. Attributes must be quoted and include values.
What this means is that non-quoted attributes such as
<table border=3>
are invalid. And attributes which used to stand alone, must now be written as name="value" pairs. For example
<hr noshade="noshade" />
adds the noshade attribute to the <hr/> tag. 6. Do a second validation.
The last step is to validate your XHTML again. This will tell you of any additional problems or issues with your code. |  Sponsored Ads | | Member | | Join Date: LongTime Posts: 1100 | | New Sponsored Ads This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today! | 
06-18-2009, 09:58 AM
| | Senior Member | | Join Date: Jun 2009
Posts: 203
| | Converting your HTML documents into XHTML is a simple process using the Dreamweaver application. The XHTML language is a partial blend of HTML and XML that adheres to a stricter set of Web regulations and is supported on all Web browsers. Translating HTML documents into XHTML, allows Web pages to contain leaner code as well as to be available for a wider range of audiences on alternate devices, such as cell phones or mobile instruments. | 
04-22-2010, 05:22 AM
| | Member | | Join Date: Jan 2010 Location: U.K
Posts: 93
| | That's a Nice and Informative Posts Which You have shared here With us
Keep sharing | 
04-27-2010, 05:54 AM
| | Junior Member | | Join Date: Jan 2009
Posts: 4
| | html and xhtml basically html and xhtml both are same.main different between html and xhtml is xhtml is case sensitive while html is not case sevsitive.
xhtml is totally nested.
================================================== === Affiliate Marketing | 
05-14-2010, 06:11 AM
| | Junior Member | | Join Date: May 2010
Posts: 3
| | Now a days Use Xhtml is really important for coding.Well that is quite comfortable for platform Independence and such related matters.The most important factor is that it is member of XML,and this is the reason why such conversion is important.Thais stuff is quite informative for initiators. | 
07-18-2011, 06:09 AM
| | Junior Member | | Join Date: Jul 2011
Posts: 5
| | Many browsers are very lax in how they interpret HTML. This leads to incongruities in how the pages are displayed, and XHTML doesn't allow that. The best way to correct this is to use an XHTML validator. | 
08-07-2011, 06:27 AM
| | Junior Member | | Join Date: Jun 2011
Posts: 14
| | The xhtmlpedia is a browsable list of XHTML elements and attributes. It lists the elements available for each XHTML DTD, their content rules, attributes, etc. I find it much easier to read and browse than the actual DTDs. The xhtmlpedia has been automatically created from the DTDs with the help of the module of html2xhtml that encodes the definitions of the XHTML DTDs. It is updated frequently to keep it in sync with the official DTDs. | 
12-21-2011, 06:43 AM
| | Senior Member | | Join Date: Jul 2011
Posts: 146
| | convert html to xhtml Thanks Ajit22
It is a more useful information for me. | 
01-07-2012, 11:07 AM
| | Senior Member | | Join Date: Dec 2011 Location: USA
Posts: 202
| | How To Fantasize Lover A virtuous rule for staying together is to live a fulfilling vigour as an separate and to prop up your partner in doing the same. A union based on coincidence and consider is the carry out conditions for dear one, colourfulness and spontaneity to prosper, while a family based on neediness and dependence creates an mood of suppression, antagonism and defensiveness. It is the balance between expressing bona fide out of and living an illusion of infatuation, between creating a contemporary vital spark alongside continuing to develop your ability to love and recreating an old life past reliving past hurts, between accepting warmth and acting cold... and now composed between summer weddings and winter divorces.
--------------------------------- coach outlet doudoune moncler pas cher coach factrory outlet cheap herve leger | 
01-07-2012, 11:12 AM
| | Senior Member | | Join Date: Dec 2011 Location: USA
Posts: 202
| | How To Pretence of Get a kick from A honourable rule in favour of staying together is to remain a fulfilling life as an separate and to support your colleague in doing the same. A union based on likeness and feature is the perfect environs against appreciate, fiction and spontaneity to prosper, while a connection based on neediness and dependence creates an feel of suppression, enmity and defensiveness. It is the discrepancy between expressing legitimate out of and living an vision of relish, between creating a new life by continuing to evolve your genius to concern and recreating an over the hill subsistence close reliving past hurts, between accepting warmth and acting cold... and from time to time stable between summer weddings and winter divorces.
--------------------------------- moncler jackets moncler jackets herve leger uk herve leger |  Sponsored Ads | | Member | | Join Date: LongTime Location: Here Posts: 1100 | | New Sponsored Ads This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today! | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT. The time now is 12:50 PM. |  | |