|
|
| Website Design Discuss about designing a website or help others with their designing problems. |

02-15-2011, 10:55 AM
|
|
Member
|
|
Join Date: Jan 2011
Posts: 55
|
|
XHTML or HTML
What are the advantages of XHTML over HTML?
XHTML is the same as HTML, except it has a cleaner syntax. XHTML uses the same tags as HTML
|

02-15-2011, 02:26 PM
|
 |
Senior Member
|
|
Join Date: Dec 2010
Location: 1 King Street, 1 King Street,Altofts, Wakefieldd, West Yorshire
Posts: 303
|
|
|
XHTML has some advanced tags which are not been defined in HTML.
|

02-15-2011, 03:58 PM
|
|
Member
|
|
Join Date: Sep 2010
Posts: 59
|
|
|
No significant differences between XHTML and HTML.
Several significant difference:
XHTML code must be written in lowercase (body, div, a, instead BODY, DIV, A).
All elements must be always closed (even empty elements like <br/> or <hr/><img/>.
Elements must be properly nested.
XHTML Documents Must Have One Root Element. (<html></html>)
In principle, these are the main differences between HTML and XHTML.
What you could expect is that if you fail to comply with the above rules, page will not be properly displayed.
But this is not happening in practice.
I think the reason that most modern browsers have the ability to display HTML pages even when the code is not properly written. (correcting errors).
__________________
If you are looking for a Palm Beach limo company or Fort Lauderdale limo to take care of your travel arrangements to and from the airport, we offer professional and courteous services...
|

02-16-2011, 02:17 PM
|
|
Banned
|
|
Join Date: Jan 2011
Location: Durham,united kingdom
Posts: 1
|
|
XHTML or HTML
XHTML is not very different from the HTML 4.01 standard.
So, bringing your code up to the 4.01 standard is a good start.
Our complete HTML 4.01 reference can help you with that.
In addition, you should start NOW to write your HTML code in lowercase letters, and NEVER skip closing tags
|

02-22-2011, 10:05 AM
|
|
Junior Member
|
|
Join Date: Apr 2010
Location: USA
Posts: 19
|
|
|
Most developers who prefer XHTML over HTML are less concerned about any technical advantage, or whether the content is being served as true XML or not, but prefer it because to them its syntax is more tidy and clear. I happen to fall into that category, and the obsessive compulsive in me greatly prefers closing tags for every element, and I have much less gear-shifting to do when dropping back and forth between XHTML and other markup languages or even from code, where everything is nice and explicitly contained.
There’s a feature request though requesting an option for HTML output and an Auto-HTML typography parser, but there frankly hasn’t been much interest from the community. Perhaps in three years we’ll all be using HTML 5 and the canvas (pun intended) will change.
|

07-28-2011, 12:02 PM
|
|
Member
|
|
Join Date: Jul 2011
Posts: 69
|
|
|
Even though this is a CSS reference, we should spend some time talking about HTML and XHTML, because your choice of markup language will affect how CSS is applied in some instances. Moreover, in order to understand the variations in the way CSS is applied to HTML and XHTML, you need to grasp the fundamental differences between the two markup languages.
|

01-31-2012, 10:55 AM
|
|
Senior Member
|
|
Join Date: Dec 2010
Posts: 149
|
|
|
Not like HTML With XHTML all the tags close with closing tags. So for beginners it is good way to keep in with their work. Because of large number of applications supported by XHTML it is used to develop large and complex websites. XHTML documents also converted into the PDF, RSS and RFT easily. So you can work with different types of formats. XHTML reduce the load time of documents.
|

03-05-2012, 08:42 AM
|
|
Junior Member
|
|
Join Date: Feb 2012
Posts: 3
|
|
|
XHTML is not so much different from HTML 4.01 standard. The major differences are:
XHTML elements must be properly nested.
XHTML elements must always be closed.
XHTML elements must be in lowercase.
XHTML documents must have one root element.
Basically, XHTML is HTML (all the html tags are found in XHTML) that follows the rules of XML (because it is a family of XML).
|

03-12-2012, 12:51 PM
|
|
Senior Member
|
|
Join Date: Feb 2012
Posts: 100
|
|
|
Xhtml are the standered version of HTML so both are required for the web designing.
|

03-12-2012, 07:02 PM
|
|
Senior Member
|
|
Join Date: Mar 2012
Posts: 109
|
|
|
HTML is best source for working because it is easy to use and easy to understand.
[Links Removed]
Last edited by AffiliateSeeking : 03-13-2012 at 03:56 AM.
|

03-19-2012, 08:18 AM
|
|
Member
|
|
Join Date: Feb 2012
Posts: 43
|
|
|
XHTML is similar to the HTML but follows the rules of XML. XHTML is used to be compatible with XML programming. Following the rules now would make it possible to include XML programming in the future. It is not difficult to change HTML pages to XHTML, but it can be time-consuming..
|

03-21-2012, 10:50 PM
|
|
Member
|
|
Join Date: Jan 2012
Posts: 84
|
|
|
Thanks for the insights guys. When working with codes, you needed to know that differences of these.
|

05-04-2012, 09:37 AM
|
|
Junior Member
|
|
Join Date: Apr 2012
Location: A-504, Safal Pegasus, Ahmedabad, Gujarat 380015 India
Posts: 15
|
|
|
I use XHTML cause i like its well-formness. I like the rules like lowercase tagnames, quoted attributes, closing tags etc. Not that you can't do this in HTML4, but the fact that this is forced for it to validate does make it easier to work with others.
|

05-10-2012, 10:33 AM
|
|
Senior Member
|
|
Join Date: Feb 2012
Posts: 142
|
|
|
HTML is stand for Hyper text markup language. Hypertext means that some text in the HTML document carries a link to a different location. HTML is not a programming language it is a markup language. Markup means that specific portions of a document are marked up to indicate how they should be displayed in the browser.
HTML is the base of a webpage. It is the language that truly "builds" the page with tables, divisions and outputting text in certain formats, such as bold and underlined fonts. It's presence is dominating the web, it is the most widely accepted language for web design. HTML is easy to use.
|
| 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 +1. The time now is 07:39 AM.
|