How to define a possible line-break using HTML? Last Updated : 12 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report To define a possible line-break in HTML use a <wbr> element. It stands for word break opportunity and is used to define the position within the text which is treated as a line break by the browser. It is mostly used when the used word is too long and there are chances that the browser may break lines at the wrong place for fitting the text. Syntax:<wbr> // Contents</wbr>Example 1: The example shows how to define a possible line-break using HTML5. html <!DOCTYPE html> <html> <head> <title> How to define a possible line-break using HTML5? </title> <style> body { text-align: center; } </style> </head> <body> <h2> How to define a possible line-break </h2> <p> GFG stands for GeeksforGeeks and it is <wbr> a computer science portal for geeks. </p> <p> wbr element is a veryveryveryveryveryveryveryveryveryveryvery <wbr>longword that will break at specific<wbr> places when the browser window is resized. </p> <b>By using the CSS property</b> </body> </html> Output: OutputExample 2: The example shows how to define a possible line-break using HTML5. html <!DOCTYPE html> <html> <head> <title> How to define a possible line-break using HTML5 </title> <style> body { text-align: center; } </style> </head> <body> <h2> HTML5: How to defines a possible line-break? </h2> <!-- br tag is used here --> <p> GeeksforGeeks: <br> Computer science portal </p> </body> </html> Output: Output Comment More infoAdvertise with us Next Article How to Add a Non-breaking Space using   in HTML? M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML5 HTML-Misc HTML-Questions +1 More Similar Reads How to Add a Non-breaking Space using   in HTML? In HTML, the non-breaking space character, represented by , is used to control the spacing and formatting of text content. Unlike regular spaces, which browsers typically collapse into a single space, ensures that multiple spaces are preserved. This feature is essential for main 2 min read How to set a single line break in HTML5 ? In this article, we will add a single line break using the <br> tag. It s used to give the single line break. It is the empty tag so it does not contain end tag. Syntax: <br> Example 1: This example uses <br> tag to break the line. html <!DOCTYPE html> <html> <head 1 min read How to add line break using <br> Tag in HTML? The <br> tag is used to create a line break in HTML. It allows you to break text into a new line without starting a new paragraph or block. This is helpful when you need to format text in a specific way, like in poems or addresses. For adding a line break, simply insert the <br> tag wher 1 min read How to define preformatted text using HTML? To define a preformatted text in HTML use the <pre> tag in the document. It is used to define the block of preformatted text that preserves the text spaces, line breaks, tabs, and other formatting characters that are ignored by web browsers. Text in the pre-tag is displayed in a fixed-width fo 1 min read How to Add a Short Quotation using HTML? For defining a short quotation by using an <q> tag. It is used to insert quotation texts on a web page, i.e. a portion of texts different from the normal texts. Syntax:<q> Quotation Text... </q>Example 1: The example below shows how to Add a Short Quotation using HTML5. html <!D 1 min read How to Break Line Without using <br> Tag in HTML / CSS? Breaking lines in HTML without <br> tags can be achieved using block-level elements such as <div> or <p> combined with CSS properties like display: block; or display: inline-block; and others. These elements naturally wrap text or content, facilitating clean and structured layout d 2 min read Like