WordPress.org

Forums

Using an image as a link (3 posts)

  1. TonyWilliams
    Member
    Posted 1 year ago #

  2. Pioneer Web Design
    Member
    Posted 1 year ago #

    (Note: no need to link us to this post 3 times)

    Creating the HTML for an image as a link:

    <a href="http://www.wordpresstest.thecapitalpartnership.co.uk/page_or_post_slug_here/">
    <img src="http://www.wordpresstest.thecapitalpartnership.co.uk/wp-content/uploads/2013/11/The-ASA-Affil-Club-4-Col-CMYK-300dpsmalli.png" width="number_here" height="number_here" alt="text here">
    </a>

    The image is wrapped in the 'a href' as per above example...please replace number_here, text_here, and page_or_post_slug_here correctly.

    See also:

    http://www.w3schools.com/html/tryit.asp?filename=tryhtml_imglink
    http://www.w3schools.com/tags/tag_a.asp
    http://www.w3schools.com/tags/att_a_target.asp

  3. TonyWilliams
    Member
    Posted 1 year ago #

    Sorry only just picked up your reply. I'll try that and post back when I have some results.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.