1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML HTML Question

Discussion in 'Web Development' started by Enclavean, Jun 25, 2011.

  1. Enclavean

    Enclavean Member

    Hey guys, ive been working on a website for my school's TV channel.

    Peps TV - Home

    Anyway, i want to know how i can get the "Latest Video" link to display the name of each video when you move your mouse over it.

    This is what my HTML code looks like:
    Code:
    <a href="http://www.youtube.com/watch?v=61VV8xW2J_o" <img src="http://img.youtube.com/vi/61VV8xW2J_o/default.jpg" alt="A Waste of Paradise" style="border-top-color: currentColor; border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-width: 3px; border-top-style: double; border-bottom-width: 3px; border-bottom-style: double; border-left-width: 3px; border-left-style: double; border-right-width: 3px; border-right-style: double" alt="A waste of paradise"></</a> 
    I've already added this:
    Code:
    alt="A waste of paradise"
    But the name still doesnt show up when i move my mouse over the video thumbail.
     
  2. Enclavean

    Enclavean Member

    Managed to solve the problem by replacing "alt" with "title"

    Just to be sure, can anyone visit the site and tell me if the titles show up when you move your mouse over the video thumbails?
     
  3. tomw

    tomw Member

    Yes, you've fixed it with the title attribute. The titles are showing up as expected.

    As you may know, I'm currently testing out my new CMS. It was developed together with a designer. He has released over a hundred templates so far; one of which can be used for showcasing video using YouTube. You can easily use this template to create your Videos page. I see you are using weebly to build your site which is nicely done. If you are interested in trying out w-CMS I can help you out.