Can I word wrap a URL inside a HTML hyperlink
Is there a way to separate the URL name in a hyperlink so i开发者_JS百科t continues onto the next line? In the application I am using I need to use a long URL and the space is limited so it wraps around to the next line. However, a space is automatically added to it and the link is then broken. Is there a continuation character to tell the application to keep link together or a way to use a shorter variable name that contains the longer actual URL?
No, HTML treats any and all whitespace characters (including multiple series of them) as a single space. You cannot disable this.
Is it absolutely necessary to put the URL as the hyperlink text?
In fact, showing a shorter meaningful description about the URL would be better for the hyperlink text.
meaning descr
I don't the actual requirement, but thought to leave this comment for you.
精彩评论