长单词与URL地址自动换行 比如事先找一个 长地址https://xs.sogou.com/book/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/ 源代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>长单词与URL地址自动换行</title> <style> p{ word-break: break-word; } </style> </head> <body> <h1>长单词与URL地址自动换行</h1> <p>https://xs.sogou.com/book/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/773947147/</p> </body> </html> 运用这个属性后 就可以实现长单词与URL地址自动换行 <style> p{ word-break: break-word; } </style> 分享知识,分享快乐!希望中国站在编程之巅! ----融水公子 公众微信号:rsgz520
360图书馆馆号:rsgz002.360doc.com
|