How to wrap HTML title attribute

How to wrap HTML title attribute
When I was writing a program a few days ago, I wanted to wrap the prompt information (TITLE) in a new line. Using '\n < BR >' doesn't work.
It's amazing that I just pressed Enter in the end.
I searched it online.
There are two solutions:
1. Write the title attribute in several lines, for example:
<a href=#" title="Description 1Description 2Description 3">Impressionism</a>
2. The first line is not intuitive enough. We can also add &#10; (change & to half-width, the same below) or &#13; where the line needs to be broken to achieve:
<a href=#" title="Explanation 1&#10;Explanation 2&#10;Explanation 3">Impressionism</a>
<a href=#" title="Explanation 1&#13;Explanation 2&#13;Explanation 3">Impressionism</a>

<<:  Example code for implementing ellipse trajectory rotation using CSS3

>>:  Detailed explanation of Shell script control docker container startup order

Recommend

CSS uses BEM naming convention practice

When you see a class, what information do you wan...

Detailed explanation of Linux mpstat command usage

1. mpstat command 1.1 Command Format mpstat [ -A ...

How to implement line breaks in textarea text input area

If you want to wrap the text in the textarea input...

How to use css variables in JS

How to use css variables in JS Use the :export ke...

Don't forget to close the HTML tag

Building web pages that comply with Web standards ...

Baota Linux panel command list

Table of contents Install Pagoda Management Pagod...

Some wonderful uses of URL objects in JavaScript

Table of contents Preface Parsing parameters Modi...

Detailed explanation of the process of modifying Nginx files in centos7 docker

1. Install nginx in docker: It is very simple to ...

Solution to forgetting the root password of MySQL 5.7 and 8.0 database

Note: To crack the root password in MySQL5.7, you...

Implementation of webpack code fragmentation

Table of contents background CommonsChunkPlugin s...

A simple and in-depth study of async and await in JavaScript

Table of contents 1. Introduction 2. Detailed exp...