在本文中,我们使用
句法:
// Contents
示例 1:
How to defines a possible
line-break using HTML5?
GeeksforGeeks
How to defines a
possible line-break
GFGstandsforGeeksforGeeksanditis
acomputerscienceportalforgeeks.
wbr element is a veryveryveryveryveryveryveryveryveryveryvery
longwordthatwillbreakatspecific
placeswhenthebrowserwindowisresized.
By using the css Property
输出:
示例 2:
How to define a possible
line-break using HTML5?
GeeksforGeeks
HTML5: How to defines
a possible line-break?
GeeksforGeeks:
Computer science portal
输出:
支持的浏览器:
- 谷歌浏览器
- IE浏览器
- 火狐
- 歌剧
- 苹果浏览器