CyberD.org
C:\ Home » Code » Line Break In Title Attribute

Line Break In Title Attribute

The title attribute in HTML. The one that appears as a hover over effect on images and links. Is there a way to break that caption into multiple lines? I looked and around and found a solution. Check this out.

Hover Here

Here's the code for it:

<div title="I just&# 13;broke the line!">Hover Here</div>

Remove spaces between &# and 13;.That's all. :)

Comments

Keep track of the discussion via rss? Read about comment etiquette? Or type in something below!
This was pretty damn interesting. And yet, nobody's spoken! Be the first!


The Comment Form

Your email address will not be published. Required fields are marked *

Your email is saved only to approve your future comments automatically (assuming you really are a human). ;) It's not visible or shared with anyone. You can read about how we handle your info here.

Question   Smile  Sad   Redface  Biggrin  Surprised   Eek  Confused  Beardguy  Baka  Cool  Mad   Twisted  Rolleyes   Wink  Coin

Privacy   Copyright   Sitemap   Statistics   RSS Feed   Valid XHTML   Valid CSS   Standards

© CyberD.org 2025
Keeping the world since 2004.