Basic Computer Notions Introduction to HTML

Next Introduction Separation of form and content Tags Identify file contents as HTML Identify file contents as HTML (cont'd) Head and body Head Head (cont'd) Head (cont'd) Head (cont'd) Body Paragraphs Paragraphs (cont'd) Emphasis Emphasis (cont'd) Emphasis (cont'd) Headings Lists Lists (cont'd) Lists (cont'd) Lists (cont'd) Address 23 of 49 Horizontal rule Links Links (cont'd) Links (cont'd) Links (cont'd) Links (cont'd) Links (cont'd) Links (cont'd) Links (cont'd) Links (cont'd) Images Images (cont'd) Images (cont'd) Images (cont'd) Images (cont'd) Links to images Links to images (cont'd) Links to images (cont'd) Links to other media Embedded objects Tables Frames Summary of elements Checking syntax Learning more about HTML Style guides for creating Web pages

Line break

To <br>, or not to <br>,
That is the question

The tag <br> can be used to force a line break in special circumstances.
It should not be used indiscriminately in place of the paragraph tag <p>,
and should not be used to create empty space.

This is an empty element, that is, there is no terminating </br> tag. In XHTML it would be written as <br/> to make clear that it is an empty element.


Start Next
Bacon home page

Valid HTML 4.01! (valid except for embed element) Valid CSS!

Creative Commons
License
This work is licensed under a Creative Commons License.
R. Funnell

Last modified: Sat, 2007 Mar 10 15:45:22

Slide show generated from html.html by Weasel 2007 Mar 10