Submit Your Article Forum Rules

Results 1 to 8 of 8

Thread: Survey: HTML5 or XHTML for new site

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    1

    Survey: HTML5 or XHTML for new site

    I have a school project where we have to make a website for a client with a real-life issue (eg a business, organisation, etc.). And one of the requirements is to use a variety of resources like questionnaires, surveys, telephone interviews, emails, etc. for researching. Right now I'm at the stage where I'm starting to develop my final solution. I need to decide whether to stick with the old, stable XHTML or go with the new, hyped up HTML5 (leaning towards HTML5). I need your help guys. Here is my survey:

    goo.gl/tbkLB

    Please fill in this survey.
    Last edited by deepsand; 08-02-2011 at 01:31 AM. Reason: fleshed out Title

  2. #2
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,785

    Talking Is there any mention of HTML5 or XHTML in the survey?

    Quote Originally Posted by neojiphre View Post
    I have a school project where we have to make a website for a client with a real-life issue (eg a business, organisation, etc.). And one of the requirements is to use a variety of resources like questionnaires, surveys, telephone interviews, emails, etc. for researching. Right now I'm at the stage where I'm starting to develop my final solution. I need to decide whether to stick with the old, stable XHTML or go with the new, hyped up HTML5 (leaning towards HTML5). I need your help guys. Here is my survey:

    goo.gl/tbkLB

    Please fill in this survey.
    Now that is really quite a survey, isn't it? I think someone somewhere got off the topic: (sorry, but I just have to quote this one...)
    Quote Originally Posted by GoogleDocs

    Software Use at Work (Survey)
    Please fill in this survey. I am making a website and need to figure out whether to do it in the new HTML5 markup or stay with a stable, older markup such as XHTML 1.0.
    * Required


    Do you work in an office and/or use a computer in your workplace? *
    Yes
    No


    Name of Business/Company/Place of Work




    Brief description




    If Yes, what type of operating system does it have installed?
    Windows 7/Vista full installation
    Win XP/98/older or a stripped down, super lightweight version of the OS (This means just all the bare essentials.)
    Mac OS X
    I don't know
    Other:


    What is more important for you when using a PC?
    A faster, reliable platform that doesn't have all the slick features, and requires less memory to run
    The complete package, that will require more memory to run


    Which web browser do you use at work?
    If your answer in the previous question is anything except 'I don't know', please answer this question.
    Internet Explorer
    Google Chrome
    Mozilla Firefox
    Safari
    Opera
    Other:
    The required field is a yes or no response to a quadratic question, 'Do you work in an office and/or use a computer in your workplace? *' whereupon the user can submit the (otherwise empty) form. And this data is educational how?

    I answered, Yes, (but my 'workplace' is my home).

    What has the name of a business or place of work have to do with any survey on the topic of HTML5 and XHTML?

    I answered, Self.

    The 'Brief Description' part is what I liked. Boy this is really going to be easy to tabulate, now isn't it?

    I answered, 'Hobbyist web producer building small, informational sites for non-profit groups in my local area. Self taught development of standards based, accessibility rated (WAI-WAIG AAA) HTML and XHTML with CSS, JavaScript, XML and PHP.'

    What I didn't add is that I'm also now developing in HTML5. I mean, what's the point?

    'If Yes, what type of operating system does it have installed?'

    We finally get to the 'if Yes' part of the first question. And it's another one of those questions with multiple possibilities. I chose Other: W7 and XP, but what if I was also using an iPad?

    The support for HTML5 is broadest in the newest technologies. We don't need a survey to register this profundity. But compatibility issues have thus far been dealt with in the development community and working groups. There is a slow funnelling down of new CSS properties from the proprietary mix to a single CSS3 registered property. The OS will soon not be of any concern.

    'What is more important for you when using a PC?'

    This is 2011, not 1995. People have so much computing power today there is hardly a need to pare anything down. We all just want our PC (or Mac) to keep working.

    'Which web browser do you use at work?'
    If your answer in the previous question is anything except 'I don't know', please answer this question.'

    Um, ... Other? All




    Well there you have it. All wrapped up in pretty bow. Which language do we use, judging these results? HTML5, or XHTML? Yes or no? Over to you, Al...

  3. #3
    WebProWorld MVP kgun's Avatar
    Join Date
    May 2005
    Location
    Norway
    Posts
    7,999
    I am not deeply into this subject, but my impression is that surprisingly, the consensus on the biggest norwegian forum http://www.diskusjon.no/ seems to be HTML5 http://www.diskusjon.no/index.php?showforum=76

    That is surprinsing to me since XHTML is XML and has as such to validate as XML.

    Can the reason be Einsteins principle of

    Make it simple, as simple as possible, but no simpler.
    Interesting subject that should not have been posted in the break-room IMO even if the op is a spam.

    If you deliver HTML via PHP, you can use an if test on date to deliver HTML5 after a certain date, e.g. january 2013.

    Then you have to deliver your site in two markup versions, but no more difficult than supplying different CSS style sheets for different user experience.
    Last edited by kgun; 08-04-2011 at 07:47 AM.

  4. #4
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,785
    A couple of years ago I seem to remember suggesting that the more people use the new technologies, that is, the greater the demand for support, the quicker the browser makers would respond. That demand has grown steadily, and we can see that the vendors are hurling along at breakneck speed to bring on that support. We don't really have to wait till 2013-14, when the spec for HTML5 becomes 'official.' The spec is here now, and is solidifying rapidly.

  5. #5
    WebProWorld MVP mikmik's Avatar
    Join Date
    Aug 2003
    Posts
    1,557

    Cool

    Quote Originally Posted by kgun View Post
    I am not deeply into this subject, but my impression is that surprisingly, the consensus on the biggest norwegian forum http://www.diskusjon.no/ seems to be HTML5 http://www.diskusjon.no/index.php?showforum=76
    What dicsussion?? http://www.diskusjon.no/index.php?showforum=76
    The closest thing I could find is your discussion about JavaScript-kode bibliotek
    What is this you are saying?:
    It can of course be a feilobservsjon.
    Det er morsomt. Norsk er nesten akkurat som engelsk i grammatiske struktur, selv ordene ligner på mange steder!
    Du folk at bruken morsom DTD og meta-tags:wtfcourceViewDoctypesm.jpg
    Why are there no vacancies at the magnificent features - Secret ascii?

    BTW, aren't both html and xhtml use the same tag structure with med ulike mime typer?
    Babies don't need a vacation, but I still see them at the beach... it pisses me off! I'll go over to a little baby and say 'What are you doing here? You haven't worked a day in your life!'
    Steven Wright

  6. #6
    WebProWorld MVP kgun's Avatar
    Join Date
    May 2005
    Location
    Norway
    Posts
    7,999
    I don't write in every thread I read on that forum, nor in that specific or other subforums. It is my personal impression.

    Quote Originally Posted by mikmik View Post
    What dicsussion?? http://www.diskusjon.no/index.php?showforum=76
    BTW, aren't both html and xhtml use the same tag structure with med ulike mime typer?
    Personally I have not started to use HTML5, so what is the correct DOC type etc? Do I need to go to W3C or Alistapart? Tell me how it is done with HTML5 and XHTML.
    Last edited by kgun; 08-05-2011 at 10:19 AM.

  7. #7
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,785
    Quote Originally Posted by kgun View Post
    Personally I have not started to use HTML5, so what is the correct DOC type etc? Do I need to go to W3C or Alistapart? Tell me how it is done with HTML5 and XHTML.
    Please refer to this thread: The HTML5 DOCTYPE.

  8. #8
    WebProWorld MVP mikmik's Avatar
    Join Date
    Aug 2003
    Posts
    1,557
    You no longer have to add "type=text/css" or txet/javascript in the <link rel> tags. Actually, I better let these people @techrepublic"

    page 1,
    HTML5: The next generation of web design
    and page 2
    HTML5: Creating a base template
    Or I could just cut and paste:
    HTML5 base template
    With the HTML5 specification, you can now create a new base template, why rewrite all this code every time you need to create new HTML documents? Included here are the elements that will get you up and running with an HTML5 base template.

    Doctype declaration

    Are you still using those hard to remember doctypes? I thought so; even TR still uses them.

    Out with the old:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    In with the new HTML5:

    <!DOCTYPE html>

    How much simpler can that get? Even if the browser does not recognize the doctype it will revert rendering in standards mode.

    Character Set Encoding declaration

    And how about the old character set declaration?

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    HTML5 now has the code simplified:

    <meta charset="UTF-8">

    The http equivalent and content type is implied now and does not have to be declared.

    Language Attribute declaration

    This is necessary for browsers to render text in the correct language, especially for those that are not written in English. As an example, you might see this language declaration in use today:

    <meta http-equiv="Content-Language" content="en" />

    HTML5 has the language declaration slimmed down to:

    <html lang="en">

    Removed Internet Media Type

    In previous HTML versions you might be used to seeing a script or link tag which includes the media type and written like these examples:

    <script type='text/javascript' src='modernizer-2.0.min.js'></script>

    <link rel="stylesheet" href="style.css" type="text/css" />

    HTML5 has removed the Internet media type for scripts and links, as it is implied by the script or link source and renders similar to these two examples:

    <script src="modernizer-2.0.min.js"></script>

    <link rel="stylesheet" href="style.css">
    and for us in Canada that use British spelling(via Html5 Doctor):
    <!DOCTYPE html>
    <html lang="en_UK">
    <head>
    <meta charset="UTF-8">
    <title>My Super Page</title>

    <meta name="robots" content="index,follow" />
    <link rel="stylesheet" href="css/style.css">
    </head>
    LOL, weegillis re chrome spell check!
    Babies don't need a vacation, but I still see them at the beach... it pisses me off! I'll go over to a little baby and say 'What are you doing here? You haven't worked a day in your life!'
    Steven Wright

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •