XML-XHTML-HTML Whats the big deal?

I have become 'fairly proficient' with HTML v4.0.1 transitional.
All my new pages validat w/W3C.org.
Why do I need to learn XHTML or XML?
What's the advantage of using these 'X' languages?
Can one justify the time/effort to transition to one of them?
I will happily go for it if there is some benifit.
Not trying to be offensive.
Just don't want to waste time if it isn't going to help.
Dan H.

A lot of hot air has been expended over the years concerning the benefits of XHTML over HTML and Strict over Transitional - and yes, I hold up my hands as one of the guilty.
About 10 years ago, the W3C decided that HTML was too sloppy as the markup language of web pages. HTML 4.01 was rewritten to conform to the stricter standards imposed by XML. That's what XHTML 1.0 is. It's exactly the same as HTML 4.01, apart from a handful of rules, such as:
tags must be properly nested
all opening tags must have a closing tag or use /> shorthand
all attributes must be in quotes
all attributes must have a value, so checked becomes checked="checked"
all tag names must be in lowercase
If you know HTML 4.01, you can switch to XHTML 1.0 with no difficulty.
At the same time, the W3C decided to deprecate a large number of tags and attributes. Deprecate simply means they are scheduled for removal from a future version of the language, so should be avoided. That's the difference between Transitional and Strict. In Transitional, you are allowed to continue using deprecated tags and attributes. As long as your code is valid, it makes very little or no difference which you use. Aiming for Strict is probably a good idea, though, because the deprecated tags and attributes are features that it's now recommended that you use CSS for. So, if your knowledge of CSS is good, you can probably switch to a Strict DOCTYPE tomorrow. If it's not so good, you probably need the Transitional DOCTYPE. But again, it's whether your code is valid that matters the most.
The W3C's grand plan of moving the web to XHTML hit a massive brick wall when everyone realized that the draft of XHTML 2.0 was not backwards compatible with either XHTML 1.0 or HTML 4.01. The W3C had grandly declared that version 4.01 was the end of the line for HTML, but is has now eaten its words, and work is far advanced on HTML5. The good news is that if HTML5 ever becomes the mainstream markup, it's designed to be backwards compatible with both HTML 4.01 and XHTML 1.0, although all of the deprecated tags and attributes will have gone.
As for XML, it's a very simple language to learn. It's basically just a structured way of presenting data. One of its most common uses is for RSS feeds. The advantage of XML is that it doesn't matter which database the information is stored in, it's presented in a text format that is a universal standard. If you're working with data-driven sites, you should learn XML.

Similar Messages

  • I had itunes working properly for a long time till one day, it was configuring to open the program then i get a message out of nowhere that says could not acess network location %APPDATA%\  i cant even uninstall without this, whats the big deal?!

    I had itunes working properly for a long time till one day, it was configuring to open the program then i get a message out of nowhere that says could not acess network location %APPDATA%\  i cant even uninstall without this, whats the big deal?!

    With that particular variety of 1606 (it's a 1606 error message even though the 1606 error message number isn't returned by the iTunes installer), the following Microsoft document is worth a try:
    You receive an "Error 1606" error message when you try to install or remove a Microsoft program

  • Session state - Whats the big deal?

    What is the equivalent of HTMLDB's "session state" in other peer environments, like, for instance, ASP/ASPX pages?
    There, you would just define a bunch of variables and use those on the page, right?
    How does the fact that HTMLDB's "variables" are stored in the database benefit me? All I care about is being able to read/write my "variables" from various points in my application.
    Thanks

    Vikas,
    Session state needs to be maintained somewhere. Then, on a subsequent page view/submission, you are essentially reunited with your session state. This is applicable to almost all Web technologies.
    Most technologies persist session state in application server middle-tier memory, which is very finite (.NET supports configuration of both, memory or database). Think about it...if you have 2GB RAM on your middle tier, how many "concurrent" sessions could you support maintaining session state in memory for all your users? What type of elaborate mechanism would you have to employ to ensure you don't exhaust middle tier resources?
    I've built/used/monitored real-world applications built using HTML DB, which would have over 6,000 distinct users in the peak hour, yet at any given split microsecond, there were no more than 8 - 10 active database sessions. In an alternative architecture, how much middle tier memory would it take for you to support 6,000 distinct user sessions in an hour? How long before you start expiring these sessions?
    Joel

  • Whats the current deal with popup windows in flash?

    Hi There,
    whats the current deal with popup windows in flash? I'm
    trying to include popup windows in a site, and with IE7 (or
    whatever the newest version of IE is ..the firefox lookalike) the
    popups are not working at all, I have gone out a gotten other
    sample popup scripts and I encountering the same problem, which is
    the popups aren't working at all?
    Is this a problem with just IE7 or am i completely missing
    out on something here?
    any ideas would be really appreciated! or if anyone has any
    scripts for sizeable popup windows that work on IE7 i would really
    appreciate it. thanks
    :}

    well i have used a couple of different attempts. I have used
    code generated by this:
    http://www.flash-db.com/PopUp/
    on (release) {
    getURL
    ("javascript:NewWindow=window.open('pants.html','newWin','width=200,height=50,left=0,top= 0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');
    void(0);");
    I have also tried a couple of other tutorials from
    http://www.kirupa.com
    link;
    http://www.kirupa.com/kirupa.htm'
    and I used the javascript supplied and had no luck (I
    embedded the html etc) ... i have tried about 5 other tutorials and
    I've got to the point where I'm wondering is the problem based
    around by browser, I only using IE7 and have no ther browser. I'm
    using FlashMX 2004. all the example files .fla and swfs i have
    downloaded aren't working either so I'm totaly scartching my head
    at this point...
    any ideas where i'm going wrong here? any help very much
    appreciated
    :}

  • MDMP to  UNICODE  Whats the big diff?

    Hello All,
    What are the major differences in with MDMP UNICODE
    Conversion versus a SINGLE CODEPAGE UNICODE conversion?  We have already had a successful single code page  unicode conversion.  We have all the documents and the links to all the documents so we ask for your professional insight and original thoughts.
    Kindest Regards
    Lawrence

    Hi Lawrence,
    the big difference is to build the vocabulary. This is not necessary for a single code page system because all characters could be converted with the standard code page. In a system with multiple code pages you have to build a vocabulary which is used during migration for tables with character data but without a language or code page field. Because of the fact, that the conversion is done table by table, therefore the code page (to be used), which could be normally determined by application logic, is not available in the migration tool. The migration has to provide a work around which is implemented by the vocabulary. This is created by transaction SPUMG and with help of your users. The users have to choose the correct code page for all entries which could not be related to a code page by the transaction. The  amount of work depends on the number of code pages you have in your system and the amount of data in it. Check the Unicode migration guides for details.
    May be the description is not correct in any detail, but I think it covers your question.
    Regards
    Ralph

  • Gingerbread update -- What's the big deal?

    Having found Froyo to be a very useful update, I was curious what to expect for Gingerbread, so I looked up the Top 10 (according to one ZDNET blogger) Features of Gingerbread:  http://www.zdnet.com/blog/burnette/top-10-features-in-android-23-gingerbread/2143
     They're broken down between top 5 user features and top 5 developer features.  Below are the top 5 user feature [with my comments].  I'm just curious why folks are in such a lather over Gingerbread -- what am I missing out on? 
     New on-screen keyboard. The standard keyboard has been greatly improved in Android 2.3, with faster input and more intuitive typing. Even cut-and-paste got a makeover. [IMHO the HTC Sense KB on TB is very good -- perhaps this feature is needed on other Android phones]
    Streamlined user interface. New color schemes and various UI changes and polish make Android more consistent and simpler to use. [Yawn].
    Application and power management. Android 2.3 provides better insight into what is running in the background, how much memory and CPU time it is using, and even lets you kill misbehaving apps. Yes, after months of telling us we don’t need a task killer, they give us a task killer. Enjoy your chuckle, iPhone fans. [I'm pretty happy with the Apps manager in 2.2, but I don't run tons of Apps].
    SIP Internet calling. Voice over IP is integrated directly into Android 2.3. Unfortunately you’ll have to get a SIP account from a third party, and the ability might be curtailed on some carriers. [I can see this as very useful for some TB owners -- but really, how many of you use VOIP?]
    Download management. All your downloads from your browser, email, and other apps, can now be viewed and controlled from one place. [Thus far, I haven't had any issues with download mgmt.  I use the "OI File Manager" app, but perhaps the few apps I use which download stuff happen to be in the "well behaved" category -- e.g. let me know where they're downloading?"]

    it's not that big of a deal to me (or i would've got it by now). it's not nearly as critcal as froyo was (flash, etc). what bothers me though, is that it can and has been done. and now verizon is capable of pushing it to other devices.....older ones and newer ones....so why not us? i'm not going to throw fits or gripe about it, but since you brought it up, my opinion is that they plastered ads all over the place when they launched this device....and then just sort of gave up on it (took forever for anyone to offer cases for extended batteries, a BAD update, i'm still not sure if they ever got the dock that they had advertised and then pulled from their site??? etc, etc). i'm happy with my tbolt and have been fine with froyo, but GB is being pushed to other devices so there's really no reason we shouldn't have it soon.

  • Whats the BIG secret to creating emailable HTML docs???

    Inquired at my local Apple reseller on what software is available to create an HTML newsletter or flyer - just like the ones they send out to customers.
    Was informed that it was possible in Entourage but this is plainly NOT the case.
    Can anybody help please?
    Alexander

    See if this helps.
    http://discussions.apple.com/thread.jspa?messageID=2620687&#2620687
    Jim

  • What is the big deal about itunes?

    I'm not joking and I'm not being critical.
    I'd say my computer & music usage began with playing CD's while writing a mid-term then got a boost with Napster. After that I became acquainted with WMPlayer, quicktime, and other music players. Granted, I don't necessarily understand formats and all the other 'stuff that one player does and the other player doesn't do (although thanks to these forums and others I'm learning).
    Arriving at the question...
    Why is itunes so big (popular)? I understand it to be a player, organizer, and has access to online downloads....What am I missing?
    Legal downloads are available at Walmart and other retailers, right? Maybe not itunes u, but still.
    Again, I am not asking for any negative reason, only to grasp why itunes has become so popular/successful. Or maybe it's just a lot of ads I am seeing?
    Another thought I had was that it was an all-inclusive app for phone, ipod, mac, etc.
    Can't wait to hear why I'm lucky to have itunes on my most awesome imac.

    While an interesting topic, strictly speaking this is supposed to be a technical question and answer forum and not one on Apple's market success, so don't be over surprised if this topic gets moderated.
    In history I believe iTunes actually has roots in a very popular and highly capable mp3 player back in OS9 days, SoundJam (for old SJ owners earlier versions had a lot of the same look and features). There are a few other other media players out there now for Mac but curently none truly offer all the features of iTunes, the way that not all of them really came up to the capabilities of the original SJ. As a non-iPod owner, non-iTunes Store user, I still use iTunes simply because of its capabilities.
    Now let technology herald iPods. There's already a good software package centered around music, so add on other things - hardware, convenience in music purchasing. The developed interface requires you have to use iTunes to conveniently run iPods (not owning an iPod I am not sure if you can't simply copy files to them the way you can with some other mp3 players). It also requires iTunes if you wish to play iTunes DRM music.
    So now it's the whole package. Start off with a good interface, develop on top of that a convenient hardware and music sales component and you have a package that is centered around, and technically requires, iTunes.
    Hopefully there still some technical content.

  • The big deal in implements one interface through the whole system

    Hi guys,
    I'm working with java developing in a ERP system. Initially we have a desktop system and now we are merging it to be a web application. We are trying to use the same classes on both modes, and we're having problems to identify what class is hybrid ( works on web and desktop ) or isn't.
    Well one solution that they found was implements one hollow interface called InterfaceWeb, just to mark the classes that works on web and desktop, although our system isn't perfectly object oriented, this solution was the worst that I ever seen. At least I think this way and I'd like to know if someone agree, disagree or have some explication for this choose.
    []s

    Matheus.Omega.Mendes wrote:
    Well one solution that they found was implements one hollow interface called InterfaceWeb, just to mark the classes that works on web and desktop, although our system isn't perfectly object oriented, this solution was the worst that I ever seen. At least I think this way and I'd like to know if someone agree, disagree or have some explication for this choose.Hard to say without actually seeing it. Probably not a good idea.
    Presumably the design was driven by time to market and cost rather than just because the developers didn't want to refactor.
    As per the other suggestion, normally besides breaking the layers out you could share common functionality with a layer of its own (or several)

  • MY MACBOOK 13" SCREEN, ACTUALLY MEASURES 11.2" ... whats the big scam!?

    I have just recieved my new MacBook 13".... Everywhere i look it is boasted that is has a 13" widescreen, and even quotes the laptop itself is 13.3". Not by my meaurements!! Are we being conned. I believe this is false advertising.
    Anyone got any suggestions?
    Thanks

    I have just received my new MacBook 13".... Everywhere i look it is boasted that is has a 13" widescreen, and even quotes the laptop itself is 13.3". Not by my measurements
    You are not being conned. You are measuring the screen wrong. All displays are measured on the diagonal. Measure from the lower left corner to the upper right corner and you will see it is 13.3 inches. This is how displays such as TVs and computer monitors have been measured for years.

  • Root:admin:AD Groups - What the latest deal on Mac OS X Server 2.2.1?

    Having a lot of issues with Open Directory usage in an AD Environment - Who has had success with proper AD group permissions usage. Suggestions on proper steps to get working?  We are having a lot of write errors in Shared Volumes on an external Stirage Drive controlled by a Mac Mini Server OS
    Any one else feeling some pain?

    Same here. I have enabled shares and added an AD group to read/write to the share, but clients can't mount the share. And even if I make the share read-able by everyone so users can mount it, they still don't inherit the ACLs from the AD group. I have to manually add AD user ACLs.
    FYI group ACLs, nor AD groups as a POSIX group  does not work.
    Yes

  • What the big impact change the navigational attribute

    I do have infoset contained 3 DSO,
    1 of the DSO have 0JOB which we need to set as Navigational Attribute..
    The the most impact and precaution that I need to think before take this step..
    i know that base on your experience .. hope that you could share with me ..
    Point will be assign
    thank you

    Hi...
    You can set 0JOB as navigational attribute....no probs...........
    But........navigational attributes require additinal joins during query runtime........so it has an impact on the performance..........It will slow down the query performance.............moreover if u hav aggregates on the cube.......during attribute change run .....adjustment of  aggregates will also slow down.........due to this we should always try to minimize number of navigational attributes..........u also consider how often the query will run.............
    Hope this helps.......
    Regards,
    Debjani......

  • Whats the app that is shown on the screen of the iPod touch on the game center section at the website?

    on this link: http://www.apple.com/ipodtouch/built-in-apps/game-center.html
    whats the app that is shown on the ipod screen? **** it looks cool!

    It has been moved to another screen on the iPod or been moved into a folder of Apps?
    If you search for it by swiping to the right and entering in the name of the App does it come up then?
    B-rock

  • The inner screen to my ipod 4th gen is cracked at first it was no big deal but now the screen keeps flickering and i cant use it. a grey spot appeared  andnow it takes up 1/4 of the screen what should i do?

    the inner screen to my ipod 4th gen is cracked at first it was no big deal but now the screen keeps flickering and i cant use it. a grey spot appeared  andnow it takes up 1/4 of the screen what should i do?.need help, i also dont have the warranty any more.

    Apple will exchange your iPod for a refurbished one for $199 for 64 GB 4G and $99 for the other 4Gs. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit                  

  • WCF returning "The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8)"

    I have a WCF service I am trying to run on a new installation of 64-bit Windows Server 2008 IIS. Although it runs fine on Windows 2003 IIS, it is throwing the error in the thread title, which appears to be a server config issue, but I am not sure. Googling and searching the MSDN forums did not turn up a solution. I tried running WCF Logging, but that didn't help either.
    Does anyone have any suggestions on how to solve this probelm?
    Here is the error:
    The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>500 - Internal server error.</title>
    <style type="text/css">

    I have the same issue on Windows 7 machine. The service works fine using a SoapUI client but a .Net client faisl to get a response.
    Hi,
    I have a WCF service which works perfectly when using SoapUI but throws error in my .Net client.
    {"The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first
    1024 bytes of the response were: '<HTML><HEAD><link rel=\"alternate\" type=\"text/xml\" href=\"http://xyz.mysite.com/ysa/Broker.svc?disco\"/><STYLE type=\"text/css\">#content{ FONT-SIZE: 0.7em;
    PADDING-BOTTOM: 2em; MARGIN-LEFT: 30px}BODY{MARGIN-TOP: 0px; MARGIN-LEFT: 0px; COLOR: #000000; FONT-FAMILY: Verdana; BACKGROUND-COLOR: white}P{MARGIN-TOP: 0px; MARGIN-BOTTOM: 12px; COLOR: #000000; FONT-FAMILY: Verdana}PRE{BORDER-RIGHT: #f0f0e0 1px solid; PADDING-RIGHT:
    5px; BORDER-TOP: #f0f0e0 1px solid; MARGIN-TOP: -5px; PADDING-LEFT: 5px; FONT-SIZE: 1.2em; PADDING-BOTTOM: 5px; BORDER-LEFT: #f0f0e0 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #f0f0e0 1px solid; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e5e5cc}.heading1{MARGIN-TOP:
    0px; PADDING-LEFT: 15px; FONT-WEIGHT: normal; FONT-SIZE: 26px; MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 3px; MARGIN-LEFT: -30px; WIDTH: 100%; COLOR: #ffffff; PADDING-TOP: 10px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #003366}.intro{MARGIN-LEFT: -15px}</STYLE><TITLE>Broker
    Service</TITLE></HEAD><BODY><DIV id=\"content\"><P class=\"head'."}
    I have the same service hosted on my local machine and when I point to the local service I can execute the operation with no issues. The message encoding is Soap11. I tried changing to Soap12 but I get exact same error. Any ideas greatly appreciated.
    I do have windows Activation Features installed and I am using .Net Framework 4.
    Thanks
    Sofia Khatoon

Maybe you are looking for