Can Someone Explain CDATA to me Please?

I have read a bit about this honest, but everything I have come accross is too technical for me!
What started me thinking about it is seeing this:
<style type="text/css">
/*<![CDATA[*/
<!--
-->
/*]]>*/
Is that important?  I don't normall include styles in a HTML page with the CDATA part in and it all works OK so, should I be doing this and if I do, will it help in my quest for WWW domination?
Regards
Martin

To give an example, Google Analytics Tracking Code does not validate on  XHTML  pages without CDATA.
http://alt-web.blogspot.com/2008/02/google-analytics-tracking-code-does-not.html
HTML & XHTML behave differently.   If you insert JavaSript into an HTML page, the validator treats everything after the script tag as CDATA (character data) and ignores it. Fine.
In XHTML pages, JavaScript is considred PCDATA (parsed character data) and thus doesn't validate. Not so fine.
Inserting the CDATA tags into your JavaScript code effectively tells the validator to "ignore me"  so the page won't 'break' or fail validation.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com

Similar Messages

  • I keep getting a message everytime I turn my phone on, can someone explain it to me please?

    Everytime I turn my phone on, I get this message.
    122 Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code. Activate (insert big smilely face here)t=6
    If anyone knows what this is your help is greatly appreciated.

    Hey skittzlives,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    This issue can be resolved by contacting your network service provider.
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Please can someone explain how to delete email addresses?  I have people who when I type in their name it comes up with the correct email address but then when you hit return to confirm it promptly changes the name to someone else (always the same someone

    Please can someone explain how to delete and email address that when typed in brings up one name but when you hit return to confirm it jumps to another name.  I can't find them in my contacts list but they do come up when you type the first few letters of a name.
    EG If I type xyz and the name of the person comes up, when I press return to confirm that's the one I want then it jumps to [email protected],  always the same def address.
    I can't fathom it out.
    Thanks
    Terri

    Try this:
    Start a new email.  In the To address bar, type in xyz like you normally do, press return to confim, and when the address you want to remove shows up in the address bar, move your cursor over the address you want to delete.
    A small triangle next to the name will show up.  click on it, a drop down menu will open, click Remove from Previous Recipients List.  Then do the drop down menu again and Remove Address.
    Good luck.

  • Trying to understand RSTP - Please can someone explain this?

    Hi Group
    I am still confused about how RSTP is implemented. From what i understand the major difference is that STP
    used Timers for Loop prevention whereas RSTP coordinates between neighbors via messages (proposal/aggreement) to turn on links
    more quickly after topology changes and is "timer free".
    However, I have not noticed any difference in the configuration from the legacy STP
    configurations and the RSTP configuration on cisco devices. Or are there any differences??
    I have read in documentation that RSTP natively includes features like UplinkFast, BackboneFast and PortFast. So are these features now obsolete
    and not needed to be configured if you are running RSTP. (Although i have seen Portfast still configured along with RSTP on many switches)
    Also can someone explain the below Points from Cisco Documentation
    1) should STP be disabled on edge ports all together as suggested below?
    "STP edge ports are bridge ports that do not need STP enabled, where loop protection is not needed out
    of that port or an STP neighbor does not exist out of that port. For RSTP, it is important to disable STP
    on edge ports, which are typically front-side Ethernet ports, using the command bridge
    bridge-group-number spanning-disabled on the appropriate interface. If RSTP is not disabled on edge
    ports, convergence times will be excessive for packets traversing those ports."
    2) It seems RSTP relies on duplex setting to determine inter-switch links. What is the configuration to explicitly
    configure RSTP link types? (I couldnt find this in the documentation)
    "RSTP can only achieve rapid transition to the forwarding state on edge ports and on point-to-point links.
    The link type is automatically derived from the duplex mode of a port. A port that operates in fullduplex
    is assumed to be point-to-point, while a half-duplex port is considered as a shared port by
    default. This automatic link type setting can be overridden by explicit configuration. In switched
    networks today, most links operate in full-duplex mode and are treated as point-to-point links by RSTP.
    This makes them candidates for rapid transition to the forwarding state."
    Also i am a bit rough on my RSTP knowledge even after skimming a few Cisco documents. Can someone please explain this in simple way.
    Thanks in advance

    to configure it on a device:-
    spanning-tree mode rapid-pvst
    PortFast/UplinkFast & BackboneFast were cisco "Enhancements" to 802.1d STP. RSTP just incorperates them. If you want to configure portfast, the command is still "spanning-tree portfast"
    OK
    1) That is your choice - I have bitter experiance of users/IT admins just plugging hubs/switches in when ever they can. Also cabling the switch back to itself creating a cabled loop. So my advice to you is to leave STP enabled on all switch ports, BUT enable BPDUGuard - this is a life saver, if you have configured portfast.
    2) duplex auto! or duplex full (overiding)
    I really suggest that you read the 802.1d standard, once you understand normal spanning-tree - RSTP will come to you.
    http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html
    http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol
    HTH>

  • Can someone explain the icloud to me please? Where are all my old pictures and how can I see them? Photostream only holds 1000 and when I sync my icloud to my mac it only imports what is on my photo stream.

    Can someone explain the icloud to me please? Where are all my old pictures and how can I see them? Photostream only holds 1000 and when I sync my icloud to my mac it only imports what is on my photo stream.

    When you enable photo stream on your Mac, in imports photos currently in your photo stream.  However, photo stream only keeps photos for 30 days, even though up to 1000 photos will remain on your device until you delete them.  When you enable photo stream on your Mac, you will only receive photos added in the last 30 days, as the others are no longer in your photo stream.
    If you want to get all your old photos on your Mac, save them to your camera roll (if they aren't already there) by opening your photo stream album, tapping Edit, tap the photos, tap Share, tap Save to Camera Roll.  Once they are in your camera roll, import them to your Mac as explained here: http://support.apple.com/kb/HT4083.
    Another option would be to create a shared photo stream containing the older photos and invite yourself (as explained here: http://help.apple.com/icloud/#mmc0cd7e99).  Then check Shared Photo Streams in iPhoto>Preferences>Photo Stream and you will see this shared photo stream on your Mac.

  • CAN SOMEONE EXPLAIN ME THE DISPLAY QUALITY

    I have just purchased a new macbook pro 15" 2.4ghz. Im a designer, i havent even created my appleid, im on my sisters... i made a sacrifice to buy this $2700 laptop.
    and Im so dissapointed...
    I CANT SEE SMOOTH GRADIENTS.. all i see are ugly lines... i dont get it, for such a high class LAPTOP.
    Apple support please help me solve this. ive been reading forums about 6bit screens for this laptop.. i dont want to believe that. can someone explain? im returning this...

    I can verify that all of Apple's laptops use 18 bit (6 bits per Red, Green Blue) color, which is about 260,000 colors. The OS then using dithering to fake the missing colors. Despite what you have read, they are incapable of 24 bit 'millions of colors'.
    The problem with this argument is that, when it comes down to it, the color displays are made up of dithered red, green, and blue elements anyway. We accept that this form of display gives us "full color", so it's difficult to argue that millions of colors can't be represented using the same mechanism. It's not quite 16.7 million (more like 16.3 or something) but Apple's text has always taken care to read "millions of colors" rather than 16.7 million (which you'll still see on the specifications for the Cinema displays).
    Just for informational sakes though, these kinds of 6-bit displays don't rely on OS spatial dithering; they actually make use of their very fast switching to perform temporal dithering, switching a pixel between two shades very quickly to generate an in-between shade. That's why for most people the result is usually visually indistinguishable from true 8-bit color, and doesn't look like what you'd see with traditional dithering.
    If the OP is noticing severe banding on gradients, it's more likely to be an issue with color profiles than with the display being 6-bit.

  • Can Someone Explain the order of things Using Swingworker?

    Hi:
    Can someone explain very clearly the order of things using Swingworker? Please do not refer the SUN tutorials. I am totally dead in the water with a very large application and the order of things is not sensible. Also, if the worker thread is too long, the GUI gets updated, but my progress bar (killed right after in the finished method) remains running in some instances only.
    Can someone explain any debugging methods for thread work?
    I am a veteran programmer of 19 years and this one's got me. The event dispatch thread returns immediate, the GUI responds well, but the progress bar setVisible(false); ... just after in the finished() method (on Event Dispatch thread) does not go away, continues running, only on very long (large query) work. I'm truly stumped. I have successful applications of the Swingworker use, the progress bar, and everything works fine. Not this one.
    Debugging threads is what I need. Or some tool that visually shows threads as the program runs.
    Thanks for any help,
    PiratePete

    Thanks. I guess I should count my blessings when using free stuff. But I have been impressed with what the J2SDK has to offer. I have been writing a complicated application that I am going to market and most of my problems have been "design" in nature.
    Thanks again,
    PiratePete

  • Can someone explain about frame header size in Ethernet over MPLS

    Can someone explain about frame header size in Ethernet over MPLS

    Hello Arun,
    Here is some explanation:
    http://cciethebeginning.wordpress.com/tag/eompls/
    Also I attached pcap file, you can open it in wireshark and look at entire packets. There are some pings 10.0.0.1 <-> 10.0.0.2 between CEs
    Best Regards
    Please rate all helpful posts and close solved questions

  • I have just downlaoded the color burst app, can someone explain how to use it?

    I have just downlaoded the color burst app, can someone explain how to use it??
    There is no help in the app and i can't log onto the smart solutions..it is really frustrating me because it is propably a really simple app...can someone please help???

    I posted in this thread an example that illustrates how to use the 3d graph to do surfaces ac lines.
    The type of data that you present to the 3d graph depends on which mthod you are using. In general you want to present a set of points that need plotted. These points are defined by taking one value for each of the XYZ and sometimes W arrays.
    Explanation:
    You want to plot a surface that is defined by four point (X0,Y0,Z0,W0), (X1,Y1,Z1,W1), etc. You can present the values using (4) 2-d arrays each of which have four values at index (o,o), (0,1), (1,0) and (1,1).
    Thie first point plotted would be the point that is defined by taking (0,0) from each of the arrays.
    So as you can see from the above all of your arrays should be of the same size and dimensions for this to work.
    Look at the Example i posted in the other thread and try some small experiments with small data sets before you jump to anything complicated.
    I hope that helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can someone explain how to set up an administrator account so that I can have my phone and my daughters have separate apple ids?

    I mistakenly updated to the latest version of iOS and ever since then I can send messages to my daughter and I receive them but she does not.  She has an iphone also and her phone is under my apple id also.  Someone told me that I could set up an Administrator Account so that she can still be under my account but she has her own ID and that will fix the problem with text/imessages.  I can't find anything on the website that explains how to do that.  Can someone explain that to me?
    Thanks!

    I'm still not clear on what you are trying to accomplish. If you have an iPhone and she does as well you should have your own Apple IDs.
    If you want to pay for any purchases she makes with her phone as far as apps/music goes than that is what Family sharing is for.
    In my case my Wife and I are setup for family sharing. When she purchases music/apps it charges my credit card. This setup also allows me to share my past music/app purchases with her and vice versa.

  • I cannot find a way to sort the bookmark folders themselves alphabetically by name.I am not talking about in a view mode but in the way they are displayed when I click on my bookmarks tab. Can someone explain to me how to accomplish this.

    I have a lot of various book mark folders with websites contained within each folder. I am able to sort the websites within each folder alphabetically by name but I cannot find a way to sort the bookmark folders themselves alphabetically by name.I am not talking about in a view mode but in the way they are displayed when I click on my bookmarks tab. Can someone explain to me how to accomplish this other than manually dragging them as this is extremely hard for me due to the fact that I am a quadriplegic with limited hand movement dexterity

    Bookmark folders that you created are in the Bookmarks Menu folder. "Sort" that folder.
    http://kb.mozillazine.org/Sorting_bookmarks_alphabetically

  • Can anyone explain this to me, please. It's a static section question.

    Can anyone explain this to me, please. It's a static section question.
    I came across the following style of programming recently and I would like to know what the Static section is actually doing in the class. Thx.
    Here is the code.
    public class ClassA {
         private static Hashtable ClassAList = new Hashtable();
         private ClassB cB;
         private Vector goodLink;
         private Hashtable classCList;
         static
              ClassA cA = new ClassA();
              ClassAList.put("whatever", cA);
         public static ClassA getClassA()
              return (ClassA) ClassAList.get("whatever");

    hi,
    The static section shall be loaded before it's constructor is called. (i.e at the time of loading the class). Therefore making it available for any other objects to call.
    hope this clarifies ur question
    prasanna

  • Can someone explain me this?

    Can someone explain me why LabVIEW embeds the graphic in sheet 1 if i specify location as "prueba"? The vi is for LV 5.0.1f1 and Excel 2000, it just creates a workbook, adds some data and creates a chart. I've tried to ask a NI engineer but i receive no answer.
    Thanks,
    Gorka
    Attachments:
    Untitled.llb ‏430 KB

    Hi Gorka,
    I am not sure if this helps but the help file for the add Sheets method says
    "Add Method (Sheets Collection)
    Creates a new worksheet, chart, or macro sheet.
    Syntax
    expression.Add(Before, After, Count, Type)
    expression Required. An expression that returns a Sheets object.
    Before Optional Variant. An object that specifies the sheet before which the new sheet is added.
    After Optional Variant. An object that specifies the sheet after which the new sheet is added.
    Count Optional Variant. The number of sheets to be added. The default value is one.
    Type Optional Variant. Specifies the sheet type. Can be one of the following XlSheetType constants: xlWorksheet, xlChart, xlExcel4MacroSheet, or xlExcel4IntlMacroS
    heet. The default value is xlWorksheet.
    Remarks
    If Before and After are both omitted, the new sheet is inserted before the active sheet.
    *******" (I added asterisks for emphesis).
    the help for the "location method" says,
    "Add Method (Sheets Collection)
    Creates a new worksheet, chart, or macro sheet.
    Syntax
    expression.Add(Before, After, Count, Type)
    expression Required. An expression that returns a Sheets object.
    Before Optional Variant. An object that specifies the sheet before which the new sheet is added.
    After Optional Variant. An object that specifies the sheet after which the new sheet is added.
    Count Optional Variant. The number of sheets to be added. The default value is one.
    Type Optional Variant. Specifies the sheet type. Can be one of the following XlSheetType constants: xlWorksheet, xlChart, xlExcel4MacroSheet, or xlExcel4IntlMacroSheet. The default value is xlWorksheet.
    Remarks
    If Before and After
    are both omitted, the new sheet is inserted before the active sheet.
    Just trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can someone explain European use of 3G in a new iPad?

    Can someone explain European use of 3G in a new iPad? Will it work in Europe? I am concerned.
    Will the keyboard, charger, case, dock from iPad2 work with the new iPad?

    yeah everything apart from LTE(4G) and the charger itself (if you buy it USA) will work

  • Hey Community, i have an iphone 5 recently doesnt work, it's showing apple in middle even i connect to itunes there is nothing. Can someone tells me the problem please thank you

    Hey Community, i have an iphone 5 recently doesnt work, it's showing apple in middle even i connect to itunes there is nothing. Can someone tells me the problem please thank you

    you could try forcing it into recovery mode by turning it off, hold the home button and plug it into iTunes at the same time, keep holding the home button until iTunes says its detected a device that needs to be updated or restored. Then restore.

Maybe you are looking for

  • Error while deploying enterprise application on weblogic 11gr1(10.3.3)

    Hi folks, I got an error while starting an .ear file(ALRuleBean). weblogic.management.ManagementException: [Deployer:149188]No application named 'ALRuleBean' exists for operation start. Operation can not be performed until server is restarted. Please

  • External Display for MBA

    I have latest 13 inch MBA and want to connect a 24 inch or larger display. What is best connection to use (HDMI, DVI etc) and what is highest resolution supported please? Would love the thunderbolt 27 incher but too expensive!  Many Thanks

  • Custom PIR(ME11) with approval

    Hi All I need to create a custom Purchase info record creation (PIR) same as ME11 . I checked and saw that there are no standard BAPI available in SAP . The development is as follows 1) User creates a entry coantining data like in ME11. 2) The data g

  • Does Flash Engine supports "Mouse Over" events on an Android device with a mouse?

    We built our custome Android on a Beagle Board. When we play a Flash content on WebKit, the flash does not respond to mouse over events. When mouse pointer comes on an object with mouse over effect, nothing happends. Can you confirm that there is Mou

  • Debug doesn't work but run project does.

    I am developing a project in netBeans that I have been able to run the regular way and also in debug mode. Suddenly this morning the debug mode will not deploy, even though I can get it to work by doing a "run project." Here is the error message I ge