We can use the <wbr> Tag to specify where a browser may add a line break Opportunity if needed. The <wbr> tag is new in HTML5. We can use this tag for long words that might present problems if they were to appear near the end of the line and cause awkward spacing. The <wbr> tag is different from the <br> tag in that results in a new line only if the flow of text requires it.
Add line Break opportunity
Step 1: Type <wbr> in your text where you want to specify hay a line break should occur if needed.
Step 2: You can type an additional <wbr> in the tag to specify other line break opportunities.
NOTE: We do not need a closing tag for <wbr> tag.
<!DOCTYPE html> <html> <Head> <Title>Coding thai</Title> </Head> <body> About Nepal <p> Nepal, country of Asia, lying along the southern slopes of the Himalayan mountain ranges. It is a land<wbr>locked country located between India to the east, south, and west and the Tibet Autonomous Region of China to the north.Its territory extends roughly 500 miles (800 kilometres) from east to west and 90 to 150 miles from north to south. The capital is Kathmandu. </p> </body> </html>
Follow us on Social Media For More
Facebook, Instagram, Pinterest