Quick XHTML Question

Discussion in 'HTML & Website Design' started by Demonic, Nov 7, 2007.

  1. #1
    Basically I'm working on this backlinks/free links script where users submit there links, validate emails and it will ask them to validate there domain using a HTML tag. See I want to use a link tag with a custom attribute that has proof its linking back to mine I'd use curl or file_get_contents or something sockets w/e. What would be the best attribute for the <A> tag that I could insert a custom hash and it will still be XHTML validated strict or transitional regardless of the tag that I use.

    i.e,
    
    <a href='http://cleanscript.com' content='#SKKJI+_SDKOL#!#?-PASS' title='CleanScript.com where Paid programming is possible.' />Clean Script</a>
    
    Code (markup):
    Would content work or should I use another attribute?
     
    Demonic, Nov 7, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You know, to be honest, I'm really not sure. I'm about as good with (X)HTML as one's going to get, yet I've never really dealt with this. But in your case, I'd probably see if the rel="" attribute could be used here (don't quote me on that though), though I do doubt it.
     
    Dan Schulz, Nov 8, 2007 IP
  3. Demonic

    Demonic Active Member

    Messages:
    821
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #3
    Yeah the rel might work, I might try the rel or the id=.
     
    Demonic, Nov 8, 2007 IP