How Do I Add Hover Text To An Image I Have | Forums

WordPress.com forums

Get help with WordPress.com, the free blogging platform, and the WordPress.com apps.

Search for: en WordPress.com Forums How do i add hover text to an image i have How do i add hover text to an image i have
  • ppminfoblog · Member · Mar 12, 2018 at 3:23 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I wondered if it was possible to add hover text to an image we have on our blog in a quick and simple fashion ? I heard you need to use HTML to achieve this and see how i am truly a HTML novice so is there a standard HTML text we can use and just replace the words ? is that possible ?

    thanks

    Paul

    The blog I need help with is: (visible only to logged in users)

  • pratikawari28 · Member · Mar 12, 2018 at 6:18 am
    • Copy link Copy link

    Hi there,

    I would be happy to help you.

    Yes, it’s possible to have Hover Text to an image on you blog.

    You can use below HTML code and update your blog posts wherever required,

    ` <img title=”This is simple hover text” src=”http://colourcottage.files.wordpress.com/2014/03/weatherhorse.jpg” alt=”something” /> `

    You just need to add *title* attribute to your existing *img* tags with whatever text you need.

    Here’s a screenshot of how it would look, https://prntscr.com/ipyk10

    Hope this helps.

    Thanks, Pratik

  • ppminfoblog · Member · Mar 12, 2018 at 11:59 pm
    • Copy link Copy link

    Thanks Pratik,

    that was easier than i imagined.

    thank you

    Paul

  • kokkieh · Staff · Mar 13, 2018 at 6:13 am
    • Copy link Copy link

    Hi there,

    I just want to add that it’s more important to have Alt text set on your image than a title attribute. Screen readers for those with visual impairments and search engines look at the Alt text, not hover text. Hover text is completely invisible to screen readers, so make sure to always set an Alt tag.

    If you want to add descriptions of images to provide context I’d recommend using captions for that instead.

  • ppminfoblog · Member · Mar 13, 2018 at 9:55 pm
    • Copy link Copy link

    thank you and noted, i will ensure i do this as well.

  • The topic ‘How do i add hover text to an image i have’ is closed to new replies.

Tags

  • hover text

About this topic

  • In: Support
  • 3 participants
  • 4 replies
  • Last activity 7 years
  • Latest reply from ppminfoblog
Advertisment
    • WordPress.com Forums
    • Customize
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions

Từ khóa » Html Image Alt Text Hover