<br> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:br

Introduction

br element can create breaks for text. The br element introduces a line break.

It moves subsequent content onto a new line.

The br Element summary

Item Value
Elementbr
Local Attributes None
Contents N/A
Tag Style Void
New in HTML5 No
Changes in HTML5 No
Style Convention Display subsequent content on a new line

Using the br Element

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head> 
      <title>Example</title> 
   </head> 
   <body>
       This is a poem.
      <br>
       Hi,<!--  w w w.  j a va  2  s  .co  m-->
      <br>
       a,
      <br>
       CSS.  
   </body>
</html>

Related Tutorials