<wbr> Safe Line Break

<wbr> creates safe line break. The wbr element is new to HTML5. It indicates where the browser could insert a line break to wrap content. The browser makes the decision.

 
<!DOCTYPE HTML> 
<html> 
    <head> 
        <title>Example</title> 
    </head> 
    <body> 
        This is a long long text.
        <wbr>Looooooooooooooooooooooooooooooooooooooooooooooooooong<wbr> text. 
    </body> 
</html>
  
Click to view this demo.
Home 
  HTML CSS Book 
    HTML  

Related: