Am I really using an obsolete DOCTYPE?

I trade emails with a very good Web designer. He's way ahead of me on CSS, etc. Several times when I've had problems making a page design behave, he has taken the time to create a completely revised style sheet that solves my problems. The only glitch is that his explanations of some of the code he uses are often cryptic or even absent. The site I'm working on now responds well to different browsers and media types, in large part because of these chunks of CSS he created. However, I'm using this DOCTYPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
His comment? "If nothing else, ditch the 90s DOCTYPE."
His suggested version:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
Trying to understand the jargon used to explain DOCTYPEs at w3c.org is no help. Can someone tell me in simple
English what the difference is between these two, wnd why the second is supposedly better? Thanks.

I don't think that a lot of web designers would be offended if I revealed that most of us could not write a doctype from scratch even with a knife to our throat. When a web designer creates a web page, he or she either copies and pastes the doctype at the top of the document or allows a web development application (like Dreamweaver) to automatically generate a syntactically correct doctype according to the settings. Sitepoint has a good brief explanation of doctypes.
The doctype declaration declares the version of the markup language you will use and the rules and grammar you will follow. I always use XHTML 1.0 Strict. This doctype sometimes causes me some extra work, but it forces me to write the most up-to-date markup.
Don't worry if you think you don't know the rules and grammar. All you need to do is get a good reference and write good markup (or do the best you can do) and when you validate your web pages, the W3C validation page will help you correct your errors. It's a great learning device.
HTML 4 Loose is a old doctype that is not in use anymore. You want to use the current markup, which is XHTML. HTML5 is the newest markup language but it's not compatible with many browsers. Don't use HTML 4.
It helps to understand that a few years ago web standards were pretty much ignored. Browsers allowed all kinds of errors and were "loose" with standards. Consequently, web browser technology lagged way behind markup and CSS technology. CSS has been implemented only a few years ago. But CSS is not a new technology. The W3C release the CSS 1 recommendation  December 17, 1996. The CSS 2 recommendation was formalized on May 12,  1998. CSS 3 is still in development. The last version of HTML, HTML  4.01, was officially released in December 1999. Shortly afterward, W3C  released XHTML in January 2000.
Leaders in the web development community began encouraging browser companies to take standards seriously. Web standards are taken seriously by web developers today and the result is much better technology and easy-to-maintain sites. So, use a current doctype and write good code that will validate.

Similar Messages

  • How can i edit my contacts?and i dont really used my phone and its automatically add a contacts and email adds.. I dont know why that happen..i just turn my phone off and this is happen..

      How can i edit my contacts?and i dont really used my phone and its automatically add a contacts and email adds.. I dont know why that happen..i just turn my phone off and this is happen..

    Contacts are synced with a compatible programme in the computer; in the iCloud or with Yahoo and Google Mail. You can directly "edit" a contact on the phone and/or within the programme that you are syncing your contacts with.
    Have you configured/setup mails on your iPhone? If yes, check the contents of the mail account(s) individually. (including iCloud)  from SETTINGS - MAILS, CONTACTS, CALENDARS
    "Contacts" if chosen from the mail account (s) would add email addresses to your contacts.
    http://support.apple.com/kb/HT1296

  • System won't boot. Could really use some help here.

    I have the K8T-Neo FISR2 mobo. When I set up the system, the SATA drive was set up as drive F: (onto which I installed Windows XP Home). I added a 2nd SATA drive later, and it became C:. Both drives are plugged into the Promise SATA ports. The system has been running fine for about a year now.
    I was having a problem with a program not running properly. I stopped the process and tried to restart it, but it didn't work. It was a program that drives my Logitech gaming keyboard (with LCD screen). After I rebooted, the system would load windows, then after Windows was loaded, it would load up a program when I went into it and crash. It looked like it would crash on PXHELP.DLL (something like that). I booted up into safe mode, renamed the file so it wouldn't load, and now it won't boot at all. It starts to show the Windows logo and then instantly reboots. I can't even get into Safe Mode as it does the same thing.
    I tried booting from an XP CD to do a repair, but when it boots, it doesn't see the hard drives. I downloaded the Promise drivers, put them onto a floppy, and load them as Windows is booting from the CD. It seems to load the drivers, but when I choose to do a repair (or even a new install), Windows comes back and tells me that I have no hard drives attached to the computer. I just can't seem to get Windows to see those hard drives!
    I could really use some advice here......

    Quote from: Tiresmoke on 04-January-06, 01:36:35
    Try swapping the Drive Cables. You may have one that is not engaging as well as it should.
    When I let the PC boot up like normal (without booting from the CD), it sees the drives and Windows tries to load, so I don't think it's the cables. I'll make sure they're reset, but I really don't think that's it.

  • Why do we really use customized IKM's in ODI?

    Do we really use customized IKM's .If yes , Can you please explain me a scenario where do we need use it? I searched some blogs but i'm not sure i understood them.

    Yes we do. A lot .
    Everytime that you see that you are having a lot of work to do something is because you are not changing a KM. The best thing in ODI is the hability to change it as you wish. Let me give you a few scenarios:
    You are building a big DW and you want the KM to identify new periods in the load time and add new partitions on the target table.
    You have sources around the world with the same table structure and you want to build only one interface and loop it in all this sources in parallel
    You are integrating Hyperion Planning application and you don't want to create one interface per dimension, you want it more generic. Same for data and metadata.
    Well there's a lot more scenarios that I can thing, but the ideia behind chante a KM is to make things easer for you, then everytime you are developing and you see that you have to do extra steps do do somthing you can consider change a KM.
    Here's a link about change KM and his advantages.
    http://devepm.com/2013/09/13/10-important-things-to-improve-odi-integrations-with-hyperion-planning-part-7-smart-metadata-loading/
    http://devepm.com/2014/07/18/really-using-odi-12c-for-data-integration-with-oracle-hyperion-planningessbase/
    We are back!!! | DEV EPM
    Hope this can help you.

  • How can i download and install and really use Adobe Flash Player on my MacBookAir with OS X 10.8.2 ??

    How can i download and install and really use Adobe Flash Player on my MacBookAir with OS X 10.8.2 ??

    Hello Allan,
    thank you for your promt message. I have download the installer like many times before and install the flashplayer like many times before, too. But it does not work ... only getting the black screen ... but then, after checking some settings and defaults i realize that i have to switch in Safari > Security > Plug in to status activated !!!
    Shame on me and sorry for wasting your time, but i started with Mac 3 weeks before and have to leave windows-thinking !!! But i am convinced that mac is the better way ...
    By Soeren

  • HT2731 do we really use apple id first in the itunes before download to  apps store

    do we really use apple id first in the itunes before download to  apps store

    It's not entirely clear to me what your problem is (I don't know what you mean by 'adapt to a wall charger' or 'adapt to my I home').
    As it doesn't appear to be connected to what the original poster in this thread was asking about, you may be better off either asking in one of the iPod forums (you've tried a soft reset of the iPod by pressing and holding bot the home and sleep buttons for 10 to 15 seconds, and iTunes on your computer is up-to-date ?), or continuing with your thread from your other id and posting in your own language : https://discussions.apple.com/message/21958153#21958153

  • DO we really use Servlet Filters in realtime applications where?

    DO we really use Servlet Filters in realtime applications where?
    Can any one give me somegood exampleor link where i can find required information.
    Regards
    Vijendra

    Yes people do use Servlet Filters in real applications. The most common usage is as a common entry point for security checks or for logging purposes.
    One thing you could do is search the forum for questions on filters. Often the poster has a problem that he believes can be solved using filters.
    If you want to learn how to develop filters check the Sun J2EE tutorial.

  • Not really using my iPad.  What can it do that my iTouch can't do?

    I wanted an ipad desperately as soon as the first one was intruduced.  I finally got an iPad 2 in December.  I'm an Apple fanatic.  Surprisingly, I have hardly used it.  I use my 4 year old iTouch throughout every day as a PDA, alarm clock, to check emails, keep contacts, track my instrument practices, play games with relatives out of state.  But I find that most of my info doesn't go back and firth from my iTouch to my ipad.  The iPad is bigger and doesn't fit in my pocket or purse, so it gets forgotten for weeks at a time.  (I use my Kindle for bedtime reading because it doesn't have backlighting.) My iPad2 cost over $700 and it is sitting there.  Any suggestions on how I can put it to work?
    The biggest help would be how to use both and have all the info be shared.  For example, I use an app to geep track of guitar practices on my iTouch, I have the same app on my ipad, but the data doesn't carry over.  I signed up for iCloud, but it is not helping.
    I use WiFi but not the 3G because I don't pay for the extra data plan.

    iCloud wouldn't be compatible with your iPod as it requires IOS 5. I was in the exact opposite situation. As soon as I got my iPad I sold my iTouch.
    I find it much more useful for email, gaming, reading, productivity (documents, budgeting, music/video creation, photos..), mirroring is really useful for presentations and also showing things to others in the house etc.
    I'm guessing you don't have an iPhone, that took the place of my iPod. When i'm out of wifi range I use tethering as I didn't feel the need for an extra 3G plan either.
    More info on your needs or what you hope to accomplish would help.

  • WebAssist Cart help? I know it's off topic but... Could really use some help...

    I've got a shopping cart that is working and I'm trying to update the
    quantities in inventory by subtracting the quantity ordered from the total
    inventory in a table called ITEMS.
    I can update a record after a sale in the cart, but right now it is
    updating by completely replacing the value of the items in inventory with
    the quantity in the checkout cart. So, if there are 800 items, after the
    update, there are -1 total in inventory, not 799.
    The problem is that I don't know how to coordinate the item(s) in the stored
    shopping cart with a call to their ID and quantity in the online database.
    Here's what I have so far:

    Ahhhhhhhh Jeff...<br />If I can get this going...<br /><br />I spent days looking for this solution.<br />Thank you very much.<br />Just bought Dreamweaver CS3 and am battling through the bells and whistles.<br /><br />Liz<br /><br />----- Original Message ----- <br />From: "jefferis" <[email protected]><br />To: <[email protected]><br />Sent: Tuesday, June 19, 2007 9:50 AM<br />Subject: Re: WebAssist Cart help? I know it's off topic but... Could really <br />use some help...<br /><br />>A new message was posted by jefferis in<br />><br />> ADDT - PHP Application Development --<br />>  WebAssist Cart help? I know it's off topic but... Could really use some <br />> help...<br />><br />> On 6/16/07 3:06 PM, in article [email protected],<br />> "[email protected]" <[email protected]> wrote:<br />><br />>> Hi jefferis....<br />>><br />>> How did you solve the problem?<br />>> I am having the same problem trying to incorporate an inventory code into <br />>> a<br />>> shopping cart that will deduct the number of items purchased from my <br />>> total<br />>> inventory to let me and my customers know how many items I have remaining <br />>> in<br />>> stock.<br />>><br />>> Ex:<br />>> inventory: 500 plants<br />>> purchased: 20 plants<br />>> remaining inventory: 480 plants<br />><br />> Yes I did.<br />><br />> I've been struggling with this piece of pie for about 5 days and<br />> thought it might benefit others, so here's a way to update your quantities<br />> in INVENTORY after a checkout success.  I read another thread but found it<br />> way too complex and depended on holding inventory in the session:<br />> http://www.webassist.com/professional/support/kbcompletethread.asp?DiscID=33<br />> 046<br />> But you may lose the info when you go offsite to Paypal, e.g., to complete<br />> the transaction.<br />><br />> Here's my approach using the "checkout_success.php" page.  Using this page<br />> works because user arrives here ONLY after a successful purchase.<br />> First of all, I used the BSM php sample store as a starting point.  I <br />> added<br />> an ItemQuantity field to the items DB to track the stock or items in<br />> inventory in the store.<br />><br />> In order for this automatic deduction of sold items to work, it must be<br />> placed within the do while {  area of the  display page for the cart's<br />> items. } The code is commented below:<br />><br />> <?php<br />> //WA eCart Show If Start<br />> if (!$eCart->IsEmpty())     {    // IF CART NOT EMPTY...<br />> ?><br />>    <h2>Order Receipt </h2>  // STANDARD STUFF TILL NEXT COMMENT<br />>    <br /><br />>    <h3 class="eCart_OrderHeaderInfo">Order number: <?php echo <br />> session_id();<br />> ?></h3><br />><br />>    <p class="eCart_OrderHeaderInfo">This is your order receipt. Please <br />> make<br />> a copy for your records. An email will also be sent to you. </p><br />>    <table class="eC_ShoppingCart" border="0" cellspacing="0"<br />> cellpadding="0"><br />>            <tr><br />><br />>                    <th>Name</th><br />><br />><br />>                    <th>Price</th><br />><br />><br />>                    <th  class="eC_FormItem" >Quantity</th><br />><br />><br />>                    <th>Total</th><br />>            </tr><br />>        <?php<br />> while (!$eCart->EOF())      {  // DO WHILE FOR EACH ITEM IN CART<br />> ?><br />>            <tr><br />><br />>                    <td><img src="/images/thumbs/<?php echo<br />> $eCart->DisplayInfo("Thumbnail"); ?>" alt="" width="100" height="100"<br />> class="eC_ProductThumb" /><br />>                        <p class="eC_ItemLabel"><?php echo<br />> $eCart->DisplayInfo("Name"); ?></p><br />>                  <p class="eC_ItemDescription"><?php echo<br />> $eCart->DisplayInfo("Description"); ?></p>  <p<br />> class="eC_ItemDescription"><?php echo $eCart->DisplayInfo("ID");<br />> $idCall = $eCart->DisplayInfo("ID");?>>  // CREATE A VARIABLE FOR<br />> //THE ITEM's ID NUMBER in the DB<br />> //USE DISPLAY ID TO GET ID # and make it = $idCall<br />> </p></td<br />>                    <td  class="eC_PriceItem" ><?php echo<br />> WA_eCart_DisplayMoney($eCart, $eCart->DisplayInfo("Price")); ?></td><br />><br />><br />>                    <td  class="eC_FormItem" ><?php echo<br />> $eCart->DisplayInfo("Quantity");<br />> $solditems = $eCart->DisplayInfo("Quantity");?>  //DO THE SAME FOR <br />> QUANTITY<br />> //SOLD, MAKE QUANTITY SOLD  = $solditems<br />> </td><br />><br />> // NOW UPDATE THE DATABASE. SUBTRACT $solditems from ItemQuantity ( YOUR<br />> //INVENTORY OR STOCK)<br />> //FOR EACH ITEM IN CART. SELECT the item's ID  by $idCall:<br />> <?php<br />> mysql_select_db($database_connBSM, $connBSM);<br />> $query_itemQ = "Update items SET  items.ItemQuantity = <br />> items.ItemQuantity -<br />> $solditems WHERE items.ItemID = $idCall";<br />> $itemQ = mysql_query($query_itemQ, $connBSM) or die(mysql_error());<br />><br />> ?><br />>                    <td  class="eC_PriceItem" ><?php echo<br />> WA_eCart_DisplayMoney($eCart, $eCart->DisplayInfo("TotalPrice")); ?> </td><br />>            </tr><br />>        <?php<br />>  $eCart->MoveNext();    //// REPEATS BEHAVIOR FOR EACH ITEM IN CART<br />> }<br />> $eCart->MoveFirst();<br />> ?><br />> BTW, once the items in inventory = 0, the items do not appear in the<br />> catalog.  That is set in the catalog page's recordset.<br />> Jeff<br />> ~~~~~~~~~~~~<br />> Jefferis Peterson, Pres.<br />> Web Design and Marketing<br />> http://www.PetersonSales.com<br />><br />><br />><br />><br />> ------------------------------------------------------<br />> View/reply at <<a href="/cgi-bin/webx?13@@.3bc3e9d6/5">jefferis, "WebAssist Cart help? I know it's off topic but... Could really use some help..." #6, 19 Jun 2007 6:50 am</a>><br />> You must visit the conference to reply. Email replies are not allowed and <br />> will be returned.<br />> Use the unsubscribe form at <br />> <a href=http://www.adobeforums.com/cgi-bin/webx?280@@.3bc3e9d6!folder=.3bc3909c> <br />> to cancel your email subscription.

  • I think my iMac is infected and could really use some help

    I recently purchased an iMac for the 1st time and am having many pop ups, survey requests and emails sent from my account to people in my address book.  I used the chat help that came up on the Apple support  which was a 3rd party who did a diagnostic check on my computer.  They told me my computer was infected and wanted to charge me $159 to fix it. I could really use some suggestions.  I have heard that apple computers don't get infected but it appears mine did.

    No infections. These are all scams you can ignore. I suggest that you enable your browser's pop-up blocker which will help with some of these annoyances. For more extensive preventions I recommend GlimmerBlocker.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • When i try to re download apps for macs, it saws sign in for purchase history then nothing happens. i could really use some help. thank you

    when i try to re download apps for macs, it saws sign in for purchase history then nothing happens. i could really use some help. thank you

    Hi,
    You've come across a MAS bug.
    Install the v10.6.7 combo update here.
    Restart your Mac after the update is installed.
    Instructions for re downloading apps here.
    Carolyn  

  • Do i need 3g,4g,wifi to send sms/call somebody ? I could really use some help.

    do i need 3g,4g,wifi to send sms/call somebody ? I could really use some help.

    No, Standard Calls and text messages (SMS) only require the normal Phone service.
    You can turn off 3G/4G/LTE and Wifi and still be able to get and make calls and send and receive sms.

  • Who really uses Dreamweaver?

    I have been a long time user of Dreamweaver and I am really pleased with CS4 and the new abilities to keep track of linked files etc.
    However, I have noticed that almost none of the other sites I visit seem to be built using Dreamweaver. I frequently scour other sites for design and technical ideas but very very rarely see evidence of Dreamweaver having been used - eg. I don't think I have ever seen a commercial site that uses Dreamweaver templates. I understand that a lot of sites these days are based on content management systems, but among the static sites that are out there I almost never find sites that appear to have been designed using dreamweaver.
    So my question is, does anyone really use Dreamweaver for commercial , production sites and what features (eg. Templates, Spry, ICE) do they use?

    richardhellyer wrote:
    So my question is, does anyone really use Dreamweaver for commercial , production sites
    I do, but I almost never use any of its extended features. I edit my stylesheets in TopStyle when I'm on my PC, because it's easier to navigate and more intuitive than DW's CSS stuff and I clean up messy code in Smultron (Mac) or Textpad (PC), if and when DW's search features are too slow or it refuses to acknowledge some stuff and conks out. The Spry stuff is okay, but I have not yet found an excuse to use it and a lot of other JavaScript code can be found on the web, so one is not too dependent on Spry and the Behaviors panel. The rest of the time DW is just fine and compared to other HTML editors it's surely the most complete package. The only real problem I have, is its rigid approach to dealing with dynamic content. This includes the aforementioned Behaviors panel and naturally, the program being unable to deal even with common CMS systems beyond the likewise rigid Databases panel, is not really helping when working on nested PHP documents and such. You know, empty data regions that are completely meaningless when empty and similar things... It really needs to have a way to connect woith PHP/ CFM/ JSP(A)/ ASP that extends LiveView.
    Mylenium

  • Does anyone really use Dashboard daily?

    Does anyone really use Dashboard right now? How about allowing iPhone/iPad apps to run in Dashboard

    Does anyone really use Dashboard right now?
    I do.
    How about allowing iPhone/iPad apps to run in Dashboard
    If that's even possible, it would be up to the Apple engineers and programmers. Personally, I doubt that will happen.

  • You are using the obsolete 3.x authorizations in BW 7.X.

    Hello gurus,
    After system upgrade of our BW system from 3.5 to SAP Netweaver 7.0, EWA report is alerting the following problem in the system:
    You are using the obsolete 3.x authorizations in BW 7.X. SAP does no longer support this feature.
    Could you please and provide additional details for it and how can we deal with this authorization issue?
    Thanks and regards

    Hi,
    After executing RSEC_MIGRATION, select the reporting authorization objects to be migrated. At the end of the migration run, check for the warings & errors. This should be your base to proceed further.
    Further, identify the InfoAreas, InfoProviders on which the queries are built-on, and InfoObjects which are to be made as authorization relevant.
    Create the analysis authorizations based on these inputs and assign them.
    You can use the below tables to prepare a matrix to understand the Role Vs, Infoarea, infoprovider, object and the queries that are included:
    - AGR_DEFINE
    - AGR_HIER
    - RSRREPDIR
    - RSDCHA
    Hope this information will make the migration a cake walk
    Warm Regards,
    Raghu
    Edited by: Raghu Boddu on Nov 18, 2010 5:23 PM

Maybe you are looking for

  • New to Arch. Hal issue?

    I will start off by saying how quick and unbloated i am finding my Arch w/ XFCE install. However, i think i have a problem with HAL? I followed the beginners Wiki from start to finish, i don't think anything went wrong. I cannot mount the DVD drive,

  • Error in MIGO while doing Intra-company plant to depot stock transfer by ST

    Dear gurus, I am facing an error while posting MIGO during intra-company plant to plant STO. Settings for STO: SPRO >IMG > MM >Purchasing > Purchase Order>set up Stock Transport Order Define Shipping Data Define/assign Checking rule Assign Delivery T

  • APPCRASH EXCEL.EXE LCID: 1033

    Has anyone encounter this issues before: Problem signature:   Problem Event Name:                        APPCRASH   Application Name:                             EXCEL.EXE   Application Version:                           14.0.6126.5003   Application

  • ! java.lang.OutOfMemoryError in 8.1.6.3.0 !

    Today I have installed path 8.1.6.3.0 on my 8.1.6.0.0 OracleEE (Sun Solaris8 x86). Before that action my JServer work correctly, but after this patch JServer was down. It cannot process any action (loadjava, sess_sh and so on) and always generate the

  • FCS Uninstall. Possible or Impossible?

    I recently recieved the crossgrade discs in the mail to install on my MacPro. I put off updating my laptop due to laziness. However, I moved a project from the laptop the MacPro. My project file is now 5.1 and the laptop was running 5.0. Well, time t