ExampleAllow long words to be able to break and wrap onto the next line: Show
div { Try it Yourself » Definition and UsageThe Show demo ❯
Browser SupportThe numbers in the table specify the first browser version that fully supports the property.
CSS Syntaxword-wrap: normal|break-word|initial|inherit; Property Values
Related PagesCSS tutorial: CSS Text Effects Try the HTML Course for Free!Add a Line Break in HTML: OverviewThis tutorial shows you how to add a line break in HTML. By default, browsers ignore many formatting keystrokes that we take for granted. Examples include the “Enter” and “Tab” keys and multiple uses of the spacebar. To accomplish the same tasks in HTML, you use page formatting tags. Web browsers wrap text automatically to the next line when the current line reaches the right side of the browser. When you add a line break in HTML, you avoid this text wrapping and start new text the next line. To add a line break to your HTML code, you use the <br> tag. The <br> tag does not have an end tag. You can also add additional lines between paragraphs by using the <br> tags. Each <br> tag you enter creates another blank line.
Add a Line Break in HTML: Instructions
Add a Line Break in HTML: Video LessonThe following video lesson, titled “Adding a Line Break,” shows how to add a line break to HTML code. This video lesson is from our complete HTML5 and CSS3 training, titled “Mastering HTML5 and CSS3 Made Easy v.1.0.” Tagged under: add, break, code, coding, course, edit, help, how-to, html, html break, html line break, html new line, html next line, HTML tutorial, html5, insert, instructions, learn, lesson, line, line break, line break in html, new line html, new line in html, next line in html, overview, self study, tag, tags, teach, training, tutorial, video What tag is used to make text wrap to the next line?Web browsers wrap text automatically to the next line when the current line reaches the right side of the browser. When you add a line break in HTML, you avoid this text wrapping and start new text the next line. To add a line break to your HTML code, you use the <br> tag.
What is the tag for next line in HTML?The <br> tag inserts a single line break. The <br> tag is useful for writing addresses or poems. The <br> tag is an empty tag which means that it has no end tag.
Which option is used to wrap the text?Wrap text around a picture or drawing object
Select the picture or object. Select Format and then under Arrange, select Wrap Text. Choose the wrapping option that you want to apply.
|