Alt tags and anchor text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sharyn
    Junior Blueparker
    • Nov 2011
    • 22

    #1

    Alt tags and anchor text

    Can someone advise me what anchor text is and how to I use it and how do I add alt tags.

    Thank you


    Sharyn

  • greggrant
    Senior Blueparker
    • Jan 2011
    • 798

    #2
    Anchor Text is the visible text you see which links to another page or website, e.g.
    Code:
    <a href="http://www.bbc.co.uk">BBC</a>
    The text BBC is the anchor text which shows on the website page.

    Alt tags are used for images e.g.
    Code:
    <img src="XXXXX" alt="This is a picture of the BBC" />
    Alt tags don't show on the screen but are used by screen readers and search engines.

    Title tags are used to bring up the title text when you hover over a link, e.g.
    Code:
    <a href="http://www.bbc.co.uk" title="Click here to view the BBC website">BBC</a>
    You can combine them if the link is a graphic e.g.
    Code:
    <a href="http://www.bbc.co.uk" title="Click here to view the BBC website"><img src="XXXXX" alt="This is a picture of the BBC" /></a>
    Greg Grant
    www.ukpashmina.co.uk

    Comment

    Working...