what is basic difference betwwn html or xhtml
Syntax
In theory, a lot. Since MSFT chose for so long to not support xhtml, it's effectively dead and development has ended. In practice, the difference is syntax. All tags in xhtml must be closed, where in html, many closing tags are optional. There are other less obvious diffs, but that's the main one.
There are no doubt other important technical differences, but in a pragmatic sense only the syntax is left.
Many developers took to xhtml thinking it was the more advanced of the two. Because of MSFT, it's not. Neither is better than the other. I use the xhtml syntax out of habit; I was admin for an intranet that made use of its xml features combined with the ease of development of html. All my tools are configured for xhtml, and there is no compelling reason to change. :shrug:
cheers,
gary
Spam Attack! notice how your
Spam Attack! notice how your beloved US of A has become one unified super state and shifted its self to warmer waters due east of Europe.
Your accounts history darling
Your accounts history darling for taking the forum in vein three times. and yes I had noted your signature links but you're not getting to that magic number required.
And further you ought to take note that all links are rel="nofollow" that means no link juice from the SEO overload Google and we will certainly not click them so it's really a pointless exercise *sigh*
But to answer the original question
The most basic difference is that XHTML is dead and HTML is not.
Tyssen wrote: The most basic
The most basic difference is that XHTML is dead and HTML is not.
Basic Was an early simplified
Basic Was an early simplified programming language designed for ease of entry for people new to programming, later it evolved into Qbasic
thnxx friend's for rply this
1.HTML was designed to display data with focus on how data looks while XML was designed to be a software and hardware independent tool used to transport and store data, with focus on what data is.
2.HTML is a markup language itself while XML provides a framework for defining markup languages.
3.HTML is a presentation language while XML is neither a programming language nor a presentation language.
4.HTML is case insensitive while XML is case sensitive.
5.HTML is used for designing a web-page to be rendered on the client side while XML is used basically to transport data between the application and the database.
6.HTML has it own predefined tags while what makes XML flexible is that custom tags can be defined and the tags are invented by the author of the XML document.
7.HTML is not strict if the user does not use the closing tags but XML makes it mandatory for the user the close each tag that has been used.
8.HTML does not preserve white space while XML does.
9.HTML is about displaying data,hence static but XML is about carrying information,hence dynamic.
Honeytrap?
Honeytrap?
@sanyia, from the data we are able to see on you it's clear you are one and the same as the original poster who had their account suspended, please don't post again unless you have something genuine to offer the forum
saniya19 wrote: 1.HTML was
1.HTML was designed to display data with focus on how data looks
Just want to point out in case the unwary be fooled, that this is a falsehood. HTML was designed to mark up the meaning of text without regard to how it looks.
XHTML is more choosy than
XHTML is more choosy than HTML—there are some elements that absolutely must appear in the XHTML markup, but which may be omitted if you’re using HTML 4 and earlier versions. These elements include the html, head, and body elements (although why you’d want to omit any of them is a mystery to me). In addition, every element you use in XHTML must have both an opening and closing tag (for example, you’d write <p>This is a paragraph</p>
in XHTML, but <p>This is all you need in HTML
, as no end tag is required).
//mod edit: Please set off your html source with [code][/code] bbcode tags. See the posting guidelines. Fixed ~gt
Thanks for the help.. Thanks
Thanks for the help.. Thanks a lot..
Link removed - links are a privilege, once you have helped out on the forum for a while you will get those signature links you've realised aren't appearing yet. However make pointless posts of little content like this or the other today and your ccount will be marked as a spammer