HTML <br> Tag

Advertisements


Description

The HTML <br> tag is used to give a line break.

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>

This will produce following result:

This is before the line break
and this after the line break.

Global Attributes

This tag supports all the global attributes described in - HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in - HTML Events Reference

Browser Support

ChromeFirefoxIEOperaSafariAndroid
YesYesYesYesYesYes

html_tags_reference.htm

Advertisements