473,786 Members | 2,571 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML and XHTML


Hello,

What is the difference between HTML and XHTML...

Thanks,
------------------------------------------------------------------------
IT Interview Questions : http://www.geekinterview.comIT Tutorials and Articles : http://www.geekarticles.com
Oct 11 '05 #1
32 2949
In article <Co************ ***@talk.geekin terview.com>,
Cornel Bicutzi <> wrote:
What is the difference between HTML and XHTML...
Slashes in odd places for XHTML. A different DTD. Don't use capitals for
XHTML elements and attributes. XHTML is funky in some browsers. That's
it. Well written HTML converts to XHTML seamlessly by following good
HTML practice in Tidy.
Now, what is XHTML good for, folks?
Thanks,


You're welcome.

leo

--
<http://web0.greatbasin .net/~leo/>
Oct 12 '05 #2
Cornel Bicutzi <> wrote in
news:Co******** *******@talk.ge ekinterview.com :

Hello,

What is the difference between HTML and XHTML...


X

Sorry, couldn't resist. :)
--
Stan McCann "Uncle Pirate" http://stanmccann.us/pirate.html
Webmaster/Computer Center Manager, NMSU at Alamogordo
http://alamo.nmsu.edu/ There are 10 kinds of people.
Those that understand binary and those that don't.
Oct 12 '05 #3
On 11 Oct 2005 19:20:00 -0700, Stan McCann <me@stanmccann. us> wrote:
Cornel Bicutzi <> wrote in
news:Co******* ********@talk.g eekinterview.co m:

Hello,

What is the difference between HTML and XHTML...
X


Pronounced "ten."
Sorry, couldn't resist. :)


Me either ;-)

Nick

--
Nick Theodorakis
ni************* *@hotmail.com
contact form:
http://theodorakis.net/contact.html
Oct 12 '05 #4
> Hello,

What is the difference between HTML and XHTML...

google "difference between HTML and XHTML"
....

http://google.com/search?&q="diff erence+between+ HTML+and+XHTML"

....
this gets some good info.

--
movies in WA : http://www.grandcinemas.com.au
beef jerky - good to chew : http://www.choicebeefjerky.com.au
eat beef jerky
Oct 12 '05 #5
Cornel Bicutzi wrote:

What is the difference between HTML and XHTML...

Visit <http://www.w3.org/>. Everything you wanted to know about HTML
and XHTML.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Oct 12 '05 #6
In our last episode, Cornel Bicutzi pronounced to
comp.infosystem s.www.authoring.html:
What is the difference between HTML and XHTML...


http://www.w3.org/TR/xhtml1/#diffs

--
Mark Parnell
http://clarkecomputers.com.au
Oct 12 '05 #7
On Tue, 11 Oct 2005, Leonard Blaisdell wrote:
Cornel Bicutzi <> wrote:
| From: Cornel Bicutzi <>
You're welcome.


Not with such an illegal From address.

Oct 12 '05 #8
On Wed, 12 Oct 2005 16:35:19 +1000, in
comp.infosystem s.www.authoring.html , Mark Parnell
<we*******@clar kecomputers.com .au> in
<43************ ***********@per-qv1-newsreader-01.iinet.net.au > wrote:
In our last episode, Cornel Bicutzi pronounced to
comp.infosyste ms.www.authoring.html:
What is the difference between HTML and XHTML...


http://www.w3.org/TR/xhtml1/#diffs


Which is some good detail. ISTM that XHTML is the more formal, more
structurally coherent and more structurally (not semantically)
restricted system. Shouldn't this make a XHTML compliant paper less
prone to error, easier to provide a consistent rendering?

--
Matt Silberstein

Do something today about the Darfur Genocide

Genocide is news | Be A Witness
http://www.beawitness.org

"Darfur: A Genocide We can Stop"
www.darfurgenocide.org

Save Darfur.org :: Violence and Suffering in Sudan's Darfur Region
http://www.savedarfur.org/
Oct 12 '05 #9
On Wed, 12 Oct 2005 15:00:45 GMT, Matt Silberstein
<Re************ **************@ ix.netcom.com> wrote:
ISTM that XHTML is the more formal, more
structurally coherent and more structurally (not semantically)
restricted system.


XHTML 1.0 is purposely no more restricted in any way than HTML 4.01, it
merely uses a different framework in which to express its restrictions.
(barring a few entirely trivial incompatibiliti es between XML and SGML
as used by HTML).

If XHTML appears different to HTML, this is because of the impositions
of XML, not some new constraint that XHTML 1.0 has added. In many cases
the difference isn't even that big. HTML must have all elements closed,
just as XHTML must. The difference is that SGML allows elements to be
closed by inference from the DTD and the appearance of some other
element that couldn't be contained inside the current element (implying
necessary closure) - XML however doesn't have this ability and so all
elements must be closed explicitly in the document source. Equally HTML
must have its attribute values quoted - unless they're in the small set
of values that are unambiguously distinct from markup, even if unquoted.

HTML 4.01 and XHTML 1.0 express the same underlying document, they
merely vary in some minor syntactical issues.
Oct 12 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

87
5662
by: CMAR | last post by:
For xhtml validatin, which is the right metatag to use for English language or can one forget about this tag? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> Thanks, CMA
2
2871
by: mike | last post by:
regards: I follow the following steps to converting from HTML to XHTML http://webpageworkshop.co.uk/main/xhtml_converting My parser is http://htmlparser.sourceforge.net/ Xhtml version is 1.0 from http://nds.nokia.com/uaprof/N6600r100.xml but nokia mobile browser cannot identify the converted file(XHTML1.0). Is there something wrong with my procedure.
47
10317
by: Chuck | last post by:
Is there any logical reason why one should convert if css is already being used? What possible, immediate, benefit would there be? I am at a loss to see what, pragmatic, difference it would make.
20
2584
by: Alan Silver | last post by:
Hello, I have read about the problems that IE has when using a doctype of HTML 4.01 Transitional. I was advised to use Strict wherever possible. My question is, does the same apply to XHTML 1.0 Transitional? I develop sites using ASP.NET, which emits valid XHTML 1.0 Transitional, but not XHTML 1.0 Strict (for example, it includes a hidden form field with the name of _VIEWSTATE, which isn't valid in Strict, but is in Transitional).
9
6737
by: anupamjain | last post by:
Hi, After 2 weeks of search/hit-and-trial I finally thought to revert to the group to find solution to my problem.(something I should have done much earlier) This is the deal : On a JSP page, I want to grab a URL and parse /change the HTML and send it to the JSP page. I take the URL from the user in a textbox (not the
6
7866
by: Rolf Welskes | last post by:
Hello, if I have for example: <table style="width: 100%; height: 100%;" border="1"> <tr> <td style="width: 100px">k </td> <td style="width: 100px">k </td> </tr>
10
2977
by: git | last post by:
All, I have been working on a system to support the 'tidy' program to help convert html to xhtml. The system is a little complex for me to put together as it involves apache/php/linux and a windows daemon doing the conversion, help and email systems. I would be very grateful of anyone who would be prepared to give it a quick try and see if it works for them.
14
1868
by: Stanimir Stamenkov | last post by:
I've found some contradiction I want to resolve. <http://www.w3.org/MarkUp/2004/xhtml-faq#mime11states: I've noted "_disallowed_ text/html" and "_must_ be sent with an XML-related media type" here as strong requirement. On the other hand the current XHTML 1.1 draft <http://www.w3.org/TR/2007/WD-xhtml11-20070216/conformance.html#strict>
6
433
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
11
5130
Dormilich
by: Dormilich | last post by:
Lately I have seen so much awful HTML, that I like to show what a HTML document should look like, regarding the requirements from the W3C. the absolute minimum is defined as: or expressed in code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <TITLE>My first HTML document</TITLE>
0
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.