how i can fit the html title tag for lengthy content

I’m having trouble with the HTML title tag for lengthy content since it keeps cutting the content off the screen. is there a way to fit text on the screen or is there another option that functions similarly to a tooltip?

<h1 title="
test 1
           
test 2
           
test 3
           
test 4
           
test 5
           
test 6
           
test 7
           
test 8
           
test 9
           
test 10
           
test 11
           
test 12
           
test 13
           
test 14
           
test 15

test 1
           
test 2
           
test 3
           
test 4
           
test 5
           
test 6
           
test 7
           
test 8
           
test 9
           
test 10
           
test 11
           
test 12
           
test 13
           
test 14
           
test 15
           
test 1
           
test 2
           
test 3
           
test 4
           
test 5
           
test 6
           
test 7
           
test 8
           
test 9
           
test 10
           
test 11
           
test 12
           
test 13
           
test 14
           
test 15
">Tooltip</h1>