During formatting, text is often a need to add a new paragraph, without a blank line, which inserts a paragraph tag & lt; p & gt ;.In addition, sometimes it is necessary to maintain the accuracy of the formatting of the previous text, which is the tag & lt; p & gt;"categorically" cancels.We often split a paragraph into multiple parts, linked logically.
For some parts of the text adopted for paragraph standard intervals are simply inappropriate.It could be the caption below the picture and tables, poems, quotations, footnotes and notes.
To force line breaks a special tag, the function of which lies in its name br (break row - "break row, row").Tag & lt; br & gt;hypertext markup language html means that all content following it must begin with a new line.If needed, you can affix several tags in a row to achieve the desired interval.
tag & lt; br & gt;It is not case sensitive and does not require a closing tag, because it is an empty element, but it's better to get used to close all tags.In XHTML tag gap must be "tightly closed" on the backslash.
example of using the tag break
& lt; html & gt;
& lt; head & gt;
& lt; meta http-equiv = 'Content-Type' & gt;
& lt; META HTTP-EQUIV = 'Content-Type' CONTENT = 'text / html;windows-1251 '& gt;
& lt; title & gt; br tag in step & lt;/ title & gt;
& lt; / head & gt;
& lt; body & gt;
& lt; p & gt;Truancy at the service & lt; / p & gt;
& lt; p & gt;Yet nowhere and never & lt; br & gt;
I was not so bad & lt; br & gt;
principality greedy horde of & lt; br & gt;
gnaws me alive & lt; / p & gt;
& lt; / html & gt;
Truancy serving
Yet nowhere and never
I was not so bad.
principality greedy horde
gnaws me alive.
attribute tag & lt; br & gt;
only attribute that has the html tag & lt; br & gt ;, called Clear ("clean").He tells the browser what to do with a portable line if the text will have a so-called wrap around the floating element, which may be a, for example, the image attribute alignment align, using the values of right / left, or block in the CSS, which spelled out the property float.
The specifications for XHTML 1.0 / HTML 4.01 clear attribute can be used only with the Transitional, Frameset and & lt;! DOCTYPE & gt ;, otherwise the code will be inoperative.
Properties tag attribute
The effect of the clear attribute depends on the value and location of the streamlined text floating element.The attribute can take 4 values:
& lt; br clear = 'right | left | all | none' & gt;
to left prohibits wrap element, aligned to the left, so the text, "stumbled" on the tag & lt; br & gt ;, located below the image of a floating element.
Exactly the result obtained from the use of the argument all, which would not allow the text to flow around the picture either the right or the left.
value right prohibits the text flow around the element, right justified, so after the tag & lt; br & gt;the text will have no choice, how to get around the image to flow around it to the right.
value of none ("neither yours nor ours") generally removes all authority to attribute clear, and the tag & lt; br & gt;Line breaks silence down.
default value, as such, have no clear attribute tag.
tag & lt; br & gt;- Is a gentle transfer
tag line break is very easy to create the necessary space between paragraphs, within which it is used as hyphens, but not as a means to divide the text into paragraphs.
should not be too carried away by the tag line breaks to format the text, because the results of its application are not always characterized by elegance.
example, if you use the tag & lt; br & gt;for transfer lines within a paragraph, it may lead to "comb" in the user if it is less than the window, which is focused on the webmaster.