<BR> Tag & its Attribute

HTML Tag <BR>

<BR> Breaks a line of continuous text and prevents text alignment around images.

Attribute of <BR> Tag

CLASS

Indicates which style class applies to the element.

<BR CLASS="casual">


Possible Values

Any class name that you define.



CLEAR

Discontinues alignment of text to inline graphic images. The sample demonstrates how you can force the text to appear after the image and not alongside it.

<IMG SRC="portrait.jpg" ALIGN="RIGHT">
<BR CLEAR="ALL">
<P>The above photo was taken when I was in
Florida.


Possible Values

ALL, LEFT, RIGHT, NONE



ID

Assigns a unique ID selector to an instance of the <BR> tag. When you then assign a style to that ID selector, it affects only that one instance of the <BR> tag.

<BR ID="dkm">


Possible Values

Any ID name that you define.



STYLE

Specifies Style Sheet commands that apply to the <BR> tag.

<BR STYLE="background: red">


Possible Values

CSS properties with value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips.

<BR CLEAR="ALL" TITLE="Stop image wrap">


Possible Values

Any text Message.




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz