Your browser does not support JavaScript!
Upvotes Anonymous 0 User 0

How to add a line break in HTML

To add a line break to your HTML, you can use the following tag:
HTML Example
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <title>My Page</title>
  My name is:<br><br>
  Tom Jones.
What does it look like?
Are there other ways to add line breaks?
Yes. Block elements (we'll get to this soon) such as the <div> element can achieve a similar visual effect.
Was this helpful?



Leave a Comment

I agree to the Terms of Service
Design © 2015, Downranked, LLC.,
Original user code contributions under MIT License