Forum Statistics

  • Forum Members: 4,245
  • Total Threads: 3,572
  • Total Posts: 2
There are 1 users currently browsing forums.

Partner Sites

Reply
Old 08-15-2008, 12:32 AM   #1 (permalink)
 
Status: On a mission
Join Date: Jun 2008
Location: Canada
Posts: 36

Rep Power: 18 Emily0415 is on a distinguished road



Default Is there a difference?

Does anyone know if I can head directly for XHTML without learning HTML?
Is there a difference?
Emily0415 is offline Add Infraction for Emily0415   Reply With Quote
Old 08-15-2008, 12:40 PM   #2 (permalink)
Sarahlee
 
Status: Guest
Posts: n/a



Default

Below is the definition of each and how they relate. I think that you have to at least understand what HTML is and how it works before jumping right into XHTML. I hope that this helps.

Quote:
On January 26, 2000, the W3C announced that HTML 4 has been reformulated into XHTML 1.0. XHTML is HTML 4 written as an XML application.

There are two primary parts to XHTML:


HTML 4
HTML 4 is a markup language used for displaying text and documents across different platforms and machines. It was originally intended for a very specific audience, and has expanded to include hypertext, multimedia, as well as the style of the documents displayed.
Quote:
XML
XML is an extensible markup language that was developed to retain the flexibility and power of HTML while reducing most of the complexity.
XHTML combines the flexibility of HTML with the extensibility of XML. But what does this mean?

In my tags for one browser article, I wrote about HTML tags that are only viewable in one browser or another. Some of these tags had been brought into the HTML 4.0 DTD, and others had not, but the result of using these tags is that your pages will never look the same in all browsers. The only solutions that an HTML writer has are: not use those tags, use those tags and state that the page is meant for one browser or another, or write multiple pages and use scripting techniques to direct readers to the appropriate pages.

With XHTML this is not necessary. With XHTML, if you find a need for a new markup tag, you simply define it in an XHTML module and use it in your page as you would any other HTML tag. You can also use XHTML to markup the code as appropriate for the (XHTML compatible) browser that is viewing it.
  Edit/Delete Message Reply With Quote


Reply

Bookmarks

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.5.0 RC2