How to insert a single line break in HTML?

HTMLWeb DevelopmentFront End Technology

Use the <br> tag to insert a single line break in HTML. You can try to run the following code to insert a line break using the <br> tag −

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML br Tag</title>
   </head>
   <body>
      <p>This is before the line break<br />
      and this after the line break.</p>
   </body>
</html>
raja
Published on 14-Mar-2018 06:02:31
Advertisements