Title: Title attribute in Firefox
Last modified: August 18, 2016

---

# Title attribute in Firefox

 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/title-attribute-in-firefox/)
 * Well I’ve been searching for quite some time but I found zilch on this subject.
   I am wondering how would I go about adding linebreaks in the title attribute 
   tag which is viewed in firefox. I used
    `& #13;` (no space)
 * in Internet Explorer and that worked fine, but firefox renders it as black box
   or something.
 * The reason I need this is because when someone hovers over an album cover on 
   my site it should display;
 * Title: ………… (LINE BREAK)
    Artist: ———- (LINE BREAK) Album: ———- (LINE BREAK)
 * PS. I am working with javascript so simply pressing enter doesn’t add the break.
   Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/title-attribute-in-firefox/#post-133877)
 * Or… Does anyone know of any good javascript that would let me do so?
 *  [jjcmarsh7](https://wordpress.org/support/users/jjcmarsh7/)
 * (@jjcmarsh7)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/title-attribute-in-firefox/#post-134717)
 * Check out:
 * [http://ryanduff.net/archives/2005/01/29/nice-title-support/](http://ryanduff.net/archives/2005/01/29/nice-title-support/)
 * and
 * [http://ryanduff.net/wordpress/wp-content/themes/kubrick/nicetitle.js](http://ryanduff.net/wordpress/wp-content/themes/kubrick/nicetitle.js)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Title attribute in Firefox’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [jjcmarsh7](https://wordpress.org/support/users/jjcmarsh7/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/title-attribute-in-firefox/#post-134717)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
