Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project









TAG:  br

<br />
 
The br tag is used to create a line break and is analogous to a carriage return. The flow of the display of the text and any images is halted on the current line, and the flow resumes on the next line starting at the left margin.
 
This is a self-closing tag. The blank space before the slash (/) is recommended for maximum browser compatibility.
 
Attributes and Events
 
id    class    style    title
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>DevGuru XHTML br tag</title>
</head>
<body>
My pseudotrophus "Acei" cichlid came from Lake Malawi in Africa.
<br />
The Showa Koi in my pond came from Japan.
</body>
</html>

 
Output:
My pseudotropheus "Acei" cichlid came from Lake Malawi in Africa.
The Showa Koi in my pond came from Japan.

 


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information