HTML character to break a long word at a specific point

Is there an encoded character in HTML that allows a break to break at a specific point, but not create a space if it is not required?

For example, I want to show the full URL, for example, the following if the space allows this ...

http://www.example.com/mylongpagename

But if you show a small area (for example, on a mobile screen), I want to split it between /and myso that it automatically wraps around like ...

http://www.example.com/
mylongpagename

I know the CSS command word-wrap: break-word;, but it might end up with something like ...

http://www.example.com/mylongpa
gename
+4
source share
1 answer

<wbr> HTML-. " ", (, ).

, - :

<p>http://www.example.com/<wbr>mylongpagename</p>
+7

All Articles