Home » Web programming/HTML

HTML 'br' Tag with Examples

HTML | <br> Tag: In this tutorial, we are going to learn about the Break (<br>) tag in HTML with its description, syntax, and examples.
Submitted by Shivang Yadav, on February 21, 2020

<br> Tag

<br> tag in HTML is used to add a linebreak in HTML webpage. It adds the cursor to a new line of the text in HTML.

Syntax:

<br>

Technical insights of <br> tag

  • It supports global attributes and attributes that handle events of HTML5.
  • Supported by all browsers.

Example:

<br>
<!DOCTYPE html>

<html>

<head>
    <title>HTML Tutorial at IncludeHelp</title>
</head>

<body>
    <h1>HTML tutorial</h1>
    <p>IncludeHelp provides tutorials on C,
        <br>C++,
        <br>Java,
        <br>Data Structure,
        <br>Algorithms,
        <br>and many latest technologies.</p>
</body>

</html>

Output

HTML | br Tag

See the above HTML code, we used <br> tag to break the lines to display programming languages in separate lines.






Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.