Summary -

In this topic, we described about the <wbr> tag along with detailed example.

The <wbr> element was introduced in HTML 5. Word break in HTML document. The <wbr> tag used to specify a line break opportunity in an HTML document.

The purpose is to be used on very long words that contain no spaces. The tag can be specified like <wbr>. <wbr> is an empty tag so no end tag required.

The <wbr> tag specifies where in a text it would be ok to add a line-break.

Syntax -

<wbr>….</wbr>

Example -

<!DOCTYPE html>
<html>
<head>
	<title> WBR tag example</title>
</head>
<body>
	<p> TutorialsCampus objective is to <wbr>deliver the point to point 
	online content on various technologies (including technical and 
	non-technical)</wbr> to encourage the reader to learn and 
	gain expertise on their desired skills without any conditions 
	and restrictions. </p>
</body>
</html>

Output -

objective is to deliver the point to point online content on various technologies (including technical and non-technical) to encourage the reader to learn and gain expertise on their desired skills without any conditions and restrictions.

Note! The wbr element is not supported in Internet Explorer 11 and earlier versions.