n00b here I have a target_"blank" question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cr4zy1van
    Registered User
    • Jan 2011
    • 75

    #1

    n00b here I have a target_"blank" question

    Whats up everybody. I am a total noob in the business. I finally got my site up and running but there isnt much content since its brand new. Im doing a post a day which is about all my schedule can handle right now.

    More importantly though I had a question about the use of target_"blank". W3.org counts target_blank's as an error when I validate the site. Should I use target blanks or should I just have the surfer go directly to the link when they click on it? And which would be better for converting sales? Ideas are welcome and thanks in advance.

    P.S. Ive been lurking around gfy for a while. Just finally signed up.
  • DigitalTheory
    ^-^
    • Jul 2007
    • 1055

    #2
    I have never seen target blank generate an error message in validation and I use em all the time. Care to link to the site. All the target does is tell the browser where to open up the link, ie, in a new window, or if you are using frames it tells it to open up in that frame.

    ETA: Doc Type. Strict html will give that error
    Last edited by DigitalTheory; 01-07-2011, 06:38 PM.

    Comment

    • cr4zy1van
      Registered User
      • Jan 2011
      • 75

      #3
      Line 51, Column 136: there is no attribute "TARGET"

      Comment

      • DigitalTheory
        ^-^
        • Jul 2007
        • 1055

        #4
        Change your doc type. My guess is you are using strict HTML........
        Last edited by DigitalTheory; 01-07-2011, 06:38 PM.

        Comment

        • cr4zy1van
          Registered User
          • Jan 2011
          • 75

          #5
          in the header?

          Comment

          • DigitalTheory
            ^-^
            • Jul 2007
            • 1055

            #6
            http://www.w3schools.com/tags/tag_DOCTYPE.asp

            Comment

            • Cash
              Click on my TCG signature
              • Feb 2002
              • 20825

              #7
              Welcome to GFY
              $9.95/month for 15000 GB bandwidth monthly, unlimited (sub)domains and MySQL5, PHP4/5, 500 GB disk storage! ; use any of these invitation codes: 216263692101; 408636009193; 846090586647; my ICQ 30160426!

              Comment

              • daniel_webcams
                Confirmed User
                • Nov 2008
                • 2491

                #8
                I see you've wrote twice target_"blank", make sure you have respected HTML the syntax and wrote target="_blank" or target="_parent", can you name your site, and let us check as well ?
                Last edited by daniel_webcams; 01-10-2011, 05:06 AM.
                Daniel,

                Skype: [email protected]
                ICQ: 354-220-339
                Email: daniel@adultforce[dot]com


                Comment

                • andrewgjohnson
                  Registered User
                  • Nov 2010
                  • 11

                  #9
                  It's an error with XHTML Strict, XHTML Transitional will allow it. If you want to use Strict and make a link open in a new window you have to use Javascript -- look up window.open if you want to take this route
                  Andrew G Johnson: Software & Web Developer
                  Andrew G Johnson.com
                  Pornubia.com

                  Comment

                  Working...