http://www.liceofoscarini.it/didattic/data-base/html/acapo.html
who usually use a word processor such as Microsoft Word , Word Perfect or similar, is used to the fact that pressing the Enter / Enter absolute gets a newline, even reformatting the text at that point in the text there will always be a carriage return. In HTML
wrap with Return / Enter key is useful only in the source text, the browser ignores these "head" and writes a row, going head only when the row is over.
If we want at any given point in the text there is still a round head, we must use a special tag, there are three HTML:
- \u0026lt;BR> as simple cut the line, going head anyway and without skipping lines.
- \u0026lt;P> ...\u0026lt;/ P> defines the start and end of a paragraph, a paragraph and between the other two lines running jump and then a double-headed, the paragraph will be aligned left, right or justified under ALIGN optional parameter, eg \u0026lt;P align=left> align left, even better solution is to use styles and style sheets (see below).
- \u0026lt;DIV> ...\u0026lt;/ DIV> defines the start and end of a unit of text, the only noticeable difference with the previous one is that between a division and then perform a single head. This tag is still primarily in conjunction with style sheets (see below). Its use is generally preferred to that of simple \u0026lt;BR>
profit then to separate two parts of the text is the tag \u0026lt;HR> (horizontal rule) that draws a horizontal line that covers the entire page.
http://crea.html.it/
Alternatively you can use the PRE tag that lets you enter text that is formatted (with a newline, tab ...) in an HTML page .
0 comments:
Post a Comment