Intro to HTML: Line Break
Home Logic Battle Card RPG Godot Tutorials Linux Gaming Blog NodeJS + Postgres LAMP Stack HTML CSS PHP ReactJS VR Tech Blog Palm Beach Techie PHP Fiddle

Line Breaks with br tag - Intro to HTML

Quick Copy Boxes


<br> This is a br tag. It does not need an ending tag. <br> will insert a line break. When you insert a line break, your next portion of content will start on the next line.


<!DOCTYPE html>
<html>
  <head>
    <title>Coding Fun!</title>
  </head>
  <body>
    <div>
      Good Day Coding Cadets! <br>
      -- Commander Candy &#9829;
</div> </body> </html>

Assignment

Run the code in the editor below. Then display your own message. Make sure to use the <br> tag.