How can I add new line/linebreak character in title attribute in HTML

Question:

I am using this

<a href=”#” title=”select from 1: this 2: that” > Click here </a>

When someone hover over it I see all the text in one line.

Is there any way to show it on new line?

Answer:

You can use &#013; or &#010;.

<a href=”#” title=”select from 1: this &#013; 2: that” >Click here</a>

<a href=”#” title=”select from 1: this &#010; 2: that” >Click here</a>

 

https://stackoverflow.com/questions/18606877/how-can-i-add-new-line-linebreak-character-in-title-attribute-in-html