Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Bill4935's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2011
    Posts
    0
    Downloads
    0
    Uploads
    0

    how can I use italics inside the title of a html img tag?

    <img src="http://www.something.com/guy.jpg" style="width:160px;padding-right:5px" align="left" title="This guy: kickin' butt and lookin' good doing it. Say, is that a < i > turtleneck? < /i >">

    I want the word turtleneck to be emphasized with italics. I have & lt; instead of "<" but how do I rewrite the slash to close the italics tag?
    Added details: The software that will show this image will display the Title as a pop-up tool tip when you hover your cursor over it. So I want to edit that title text for when it is viewed that way. (Something I learned in HTML coding 102.)

  2. #2
    wazimu's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Aug 2009
    Posts
    3
    Downloads
    0
    Uploads
    0
    Try formating it from the CSS script e.g.

    img {
    border: 0;
    font-weight: bold;
    font-style:italic;
    text-decoration: none;
    }

    OR

    img.normal {font-style:normal}
    img.italic {font-style:italic}
    img.oblique {font-styleblique}

  3. #3
    Reave's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2011
    Posts
    1
    Downloads
    0
    Uploads
    0
    back to w3schools

  4. #4
    Samuel's Avatar
    Senior Member

    Status
    Offline
    Join Date
    May 2009
    Posts
    234
    Downloads
    0
    Uploads
    0
    <HTML>
    <img scr ="WWW.Google.com" ="target"><i>the picture </i>
    </HTML>

 

 

Quick Reply Quick Reply

Click here to log in


What comes after M0nday

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help With IMG tag in HTML?
    By pkjm17 in forum Discuss HTML
    Replies: 0
    Last Post: 09-17-2011, 12:00 PM
  2. Replies: 0
    Last Post: 11-05-2010, 03:17 AM
  3. Replies: 0
    Last Post: 11-05-2010, 03:17 AM
  4. Replies: 0
    Last Post: 11-05-2010, 03:17 AM
  5. Replies: 0
    Last Post: 02-15-2010, 01:21 PM

Bookmarks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •