alt tags in php files ??? how to do this

Discussion in 'PHP' started by smub, Jul 7, 2007.

  1. #1
    hi

    i am wondering how can i add alt tags into a php file


    because i have a php file which have an image .... but i dont know how to add alt tag ....

    as i dont want to publish this page because it will force to take off my w3 valid symbols off the site because w3 requires all image must have alt tags...

    if someone can help please

    thanks
     
    smub, Jul 7, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    
    <img src="file.php" alt="Text" />
    
    HTML:
    ???
     
    nico_swd, Jul 7, 2007 IP
  3. smub

    smub Notable Member

    Messages:
    3,443
    Likes Received:
    375
    Best Answers:
    0
    Trophy Points:
    230
    #3
    no it wasn't that ... i figured it out


    alt=\"\" <<< it was suppose to look like this ... for the php to work :)


    thanks again


    mods you may close this thread
     
    smub, Jul 7, 2007 IP