HTML wbr tag


<wbr> tag

<wbr> tag will break the line only if needed.

Sometimes the word/sentence exceeds a particular space and keep on extending, to break it <wbr> tag is used.

It will break the sentence and start from the next line.

Example

Try Yourself

Difference between <br> tag and <wbr> tag

<br> and <wbr> tags are used for line breaking, but both are much different. Based on the situation, either one of them can be used.

While using <br> tag, the line will break instantly. But <wbr> tag breaks the line only if needed.

Example

Try Yourself