Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>本教程(w3big.com)</title> <style> p.test1 { width:11em; border:1px solid #000000; text-wrap:none; } p.test2 { width:11em; border:1px solid #000000; text-wrap:normal; } </style> </head> <body> <p class="test1">这段包含一些文本。这一行的文字不会换行到下一行。</p> <p class="test2"> 这段包含一些文本。这一行的文字正常换行。.</p> </body> </html>