Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2013
    Posts
    53

    Question What is correct with target setting?

    What is correct with target setting?

    Code:
    <a class="myclass" target="blink" href="/sendmessage.php">Contact Us</a>
    
    <a target="blink" class="myclass" href="/sendmessage.php">Contact Us</a>

  2. #2
    Join Date
    Aug 2010
    Location
    Sorting Office
    Posts
    6,902
    Moved > Web Design and Content
    There's no such thing as an unmanaged server - It's actually self-managed. Worth remembering next time you're looking for someone to complain to.
    DATA VALUATION SERVICE: Your data's value is linked directly to your backup strategy. If YOU don't have your own backups then YOU value your data at ZERO. So why should anyone else care when you lose it?

  3. #3
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    4,695
    Slightly confused by your question. What are you trying to achieve?

  4. #4
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,842
    The two are equivalent (parameter order doesn't matter).
    Quote Originally Posted by neoearnmoney View Post
    target="blink"
    Did you mean:
    Code:
    target="_blank"
    ??
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  5. #5
    Join Date
    Mar 2013
    Posts
    1,294
    There is no blink value for the "target" attribute.

    _blank
    _parent
    _self
    _top

  6. #6
    Join Date
    Oct 2013
    Posts
    53
    oh sorry, i am new with css.

    so what is correct?

    <a class="myclass" target="_blank" href="/sendmessage.php">Contact Us</a>

    <a target="_blank" class="myclass" href="/sendmessage.php">Contact Us</a>

    <a class="myclass" href="/sendmessage.php" target="_blank">Contact Us</a>
    Last edited by neoearnmoney; 11-09-2013 at 05:04 PM.

  7. #7
    Quote Originally Posted by neoearnmoney View Post
    oh sorry, i am new with css.

    so what is correct?

    <a class="myclass" target="_blank" href="/sendmessage.php">Contact Us</a>

    <a target="_blank" class="myclass" href="/sendmessage.php">Contact Us</a>

    <a class="myclass" href="/sendmessage.php" target="_blank">Contact Us</a>
    It's exactly the same, no matter how you order it.

  8. #8
    Join Date
    Oct 2013
    Posts
    53
    Quote Originally Posted by Washi View Post
    It's exactly the same, no matter how you order it.
    There is no accurate rules with target? so can i place the target before class and after class as wish?

  9. #9
    Quote Originally Posted by neoearnmoney View Post
    There is no accurate rules with target? so can i place the target before class and after class as wish?
    Yes, it doesn't matter, as long as the code is correct.

Similar Threads

  1. DNS is correct but server is not showing correct page.
    By fjworld in forum Programming Discussion
    Replies: 4
    Last Post: 07-23-2012, 12:19 PM
  2. What Target Knows About YOU
    By Mike - Limestone in forum Web Hosting Lounge
    Replies: 7
    Last Post: 02-22-2012, 12:19 AM
  3. what is the correct DNS setting?
    By watermelon3 in forum Web Hosting
    Replies: 1
    Last Post: 10-23-2006, 10:48 PM
  4. Which to target first?
    By Shudder Martin in forum Running a Web Hosting Business
    Replies: 10
    Last Post: 08-31-2004, 09:39 PM
  5. am i understand correct about ODBC and database? please correct
    By requested in forum Hosting Security and Technology
    Replies: 7
    Last Post: 08-27-2003, 06:42 AM

Posting Permissions

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