Html Or Xhtml - Which one do you prefer

Pages: 1, 2
free web hosting
Open Discussion > CONTRIBUTE > The Internet > Website Discussion

Html Or Xhtml - Which one do you prefer

viplanet
I know that XML and XHTML have taken long straids.Which one do you prefer.
Is transferring my site to XHTML from HTML worthy
Comment your views
dry.gif

Reply

dontmaimyourself
I converted my site to XHTML 1.0 Transitional from html 4.01 a while back, it doesn't really make much difference yet as all browsers will still render html but the w3c do say that it is more of a future standard so eventually they will probably stop using html in favour of xhtml (feel free to correct me if any of this is wrong I'm not 100% sure about it). Anyway I found it was easier to code xhtml as it requires that the code be structured correctly which I thought not only help the parser that was reading the code it aslo makes it easier to find a spacific piece of code, so yeah purely as a developer it is worth transferring to xhtml. plus xhtml does sound alot sexier than html. Please note that alot of this comes from (a very poor) memory so if its wrong or I forgot anything really obvious please add/correct/point and laugh.

Reply

corzel
HTML is and will be the standar code in web at least for the next five years, remember that exist more than 100 millions of web pages and the 80% is builded in html.

xhtml is just html improved, the most important change is with html you organize all your page (structure and design), with xhtml you create the structure of your page and need a .css file for your design.

In other words, the big difference is that you won´t use anymore the "FONT" tags.

Reply

Tyssen
QUOTE(corzel @ Dec 17 2005, 07:23 PM)
In other words, the big difference is that you won´t use anymore the "FONT"  tags.

The font tag actually became deprecated with HTML 4.0, so it's not just XHTML that it's no longer valid for.
I design all my pages with XHTML 1.0 Strict cos I like the rigour that it imposes on the code you create.

Reply

corzel
QUOTE(Tyssen @ Dec 17 2005, 01:32 AM)
The font tag actually became deprecated with HTML 4.0, so it's not just XHTML that it's no longer valid for.
I design all my pages with XHTML 1.0 Strict cos I like the rigour that it imposes on the code you create.
*



Well, I think you are a programmer, anyway, with html & xhtml you have two equally powerful choices, depending on your needs and working environment you are likely to prefer one over the other.

If anyone don't have a preference today, my suggestion is to go for XHTML because it's the most recent suggestion from the W3C. Other than that, decide what available tools you have, and which HTML-flavor best suits your tools & taste.

Reply

viplanet
QUOTE(dontmaimyourself @ Dec 16 2005, 10:30 PM)
I converted my site to XHTML 1.0 Transitional from html 4.01 a while back, it doesn't really make much difference yet as all browsers will still render html but the w3c do say that it is more of a future standard so eventually they will probably stop using html in favour of xhtml (feel free to correct me if any of this is wrong I'm not 100% sure about it). Anyway I found it was easier to code xhtml as it requires that the code be structured correctly which I thought not only help the parser that was reading the code it aslo makes it easier to find a spacific piece of code, so yeah purely as a developer it is worth  transferring to xhtml. plus xhtml does sound alot sexier than html. Please note that alot of this comes from (a very poor) memory so if its wrong or I forgot anything really obvious please add/correct/point and laugh.
*


Thank you for your view i'll transform ny site to XHTML from HTML.
But i will prefer HTML for its simplicity
thank you

 

 

 


Reply

chriswsk
The main different between HTML and xHTML is the format.
xHTML can be used as an XML document. Therefore, I think you are no need to change the web to xHTML if your web site do not need any XML transformation.

QUOTE(viplanet @ Dec 16 2005, 11:58 PM)
I know that XML and XHTML have taken long straids.Which one do you prefer.
Is transferring my site to XHTML from HTML worthy
Comment your views
dry.gif
*



Reply

Avalon
I am still yet to be convinced about xhtml, I understand it is recommended by W3C, but with the differences in how browsers read code, there does not appear to be a standard. I know the idea is for xhtml to be a standard for all browsers to follow, but given the number of different browsers out there, I can't see that happening soon. So aside from trying to enforce a code standard, are there any other benefits of xhtml?

Personally, I prefer html because already I try to structure my code in a logical format similar to xhtml, purely because I find it easier to read and work with. I also use CSS wherever possible because it gives more flexibility. But even there, different browsers will allow different attributes so there is no standard there either.

While it would be really good if all browsers displayed the same code in the fashion so we don't have to worry about the tags and attributes we use, but I can't see that happening in a hurry.

Reply

Dawiss
Im using and better prefer HTML because I know how to write codes with ity and it's pretty simple... about the xhtml once I tryed but it was too hard to understand (maybe only that thing I tryed)... dunno better like html tongue.gif

Reply

sammaye
I prefer html, it is the standard...what more can a person say. Even thou XHTML is being used in places I have found many web editors that still only give HTML reference and dont even believe in the existance of XHTML.

XHTML will catch on to every where but then again why?, I am perfectly happy adding HTML aspects to my PHP code, will I be adding XHTML code and will we have to learn new parts to a code...some new functions which just make ours lives harder; I think so..I am quite happy with my HTML and XHTML can stay in the shadows for a bit longer i think..

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Similar Topics

Keywords : html, xhtml, prefer

  1. Making A Picture Viewer Website
    Html programming or javascript (3)
  2. Google Has Sloppy Coders
    Can't even code proper HTML (6)
    Ok, just out of curiosity I ran Google through the w3c validator to see if the coders wrote valid
    code. I found out that Google had 50 errors. One of them was no DOCTYPE! I was surprised that
    Google has sloppy coders like that. It's not just the fact that it is a big company that
    generates millions of dollars, but the fact they have created one of the greatest search engines and
    can't even code correct HTML. The code looks extremely messy. Here is a link to the validation
    page: ....
  3. Which Site Name Do You Prefer?
    Sheepeasy or Ramboot (6)
    I'd just like to know which name you think is better. My site is involved in humorous reviews of
    comics, PC Games, general writing. Make sure you vote before reading the rest, as I want this to be
    an unbiased opinion. BACKGROUND ----------------- SHEEPEASY - This name originates from way back
    when I was 10 and started my first Freewebs site. I made it so me and my friends could post flash
    animations without having to undergo bad reviews and scrutiny from other sites such as Newgrounds. I
    tried to make this site big; but I was locked into place by loyalty to my frie....
  4. How Do I Send An Html Newsletter?
    Please help (6)
    I am trying to start a newsletter, and would like to know how you do it. I have the template, but
    if I send the html code, it send the html code. How to I put it in an email so you can actually
    view it? I tried one where they said put it so it is CODE HTML = HTML , but it didn't
    work. Could someone please help me out here? Thanks.....
  5. View The Errors In Your Html!
    (14)
    Did you ever do a script and think... How do I know if it is going to display right for everyone....
    How do I know my HTML is pure 100% clean, well, think no more... http://validator.w3.org/ - on
    that URL, you can put in your URL and it tells you how many errors and it displays the errors in
    your coding!! example: http://validator.w3.org/check?uri=http%3A%...&doctype=Inline
    Displays 51 errors! Enjoy /wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'
    /> Jack....
  6. Basic Web Design (html)
    sample index file included (3)
    Web Design Web Design is one of the easiest and neatest things that you can learn. Most people
    often misunderstand it and throw it to the side and then pay lots of money for others to make and
    maintain a website for you. This shouldn’t be the case. The best thing for you to do is to learn
    how to make a website. In this article, you will learn advanced webpage design in under 20 minutes.
    There are literally tons of different computer languages used to create websites. The hardest of
    them all I would say is PHP and MySQL. These are difficult to understand because o....
  7. Do You Prefer Light Or Dark Layout?
    (39)
    Do you prefer light or dark layout? I prefer light one (white, yellow, light green), because
    it's easier to read through it. On the other hand, dark layouts are "atmospheric".
    /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> ....
  8. Free & Good Tool
    To optmize html code (2)
    The tool is named as: Absolute html compressor Just go to google.com and type this keywords, if
    you want to try this tool: "Download absolute html compressor" Of course there's alsow more
    ools that do this, but they're all shareware, this one is freeware and realy do a good work. I
    Have been using it and it realy reduce the size of the html page. Just try it, and then give me a
    feedback about it.....

    1. Looking for html, xhtml, prefer

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for html, xhtml, prefer

*MORE FROM TRAP17.COM*
advertisement



Html Or Xhtml - Which one do you prefer



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE