HTML and CSS Reference
For more information, contact
<a href="mailto:firstname.lastname@example.org">Joe Balochio</a>.
You may want to define new terms when you first introduce them in your text.
You can use the <dfn> element to identify the term that is being defined to computer programs. The <dfn> ele-
ment should contain either the word or phrase that is being defined or an <abbr> element. The following example
shows how you might use the <dfn> element when defining the term Internet.
<p>The <dfn>Internet</dfn> is a vast computer network linking
smaller computer networks worldwide.</p>
You could also use the <dfn> and <abbr> elements together when defining an acronym:
<p>The <dfn><abbr title="World Wide Web Consortium">W3C</abbr>
</dfn> is the main standards body for the World Wide Web.</p>
Most browsers will apply an italic font style to the text within a <dfn> element. However, this is not standardized
and therefore can vary between browsers.
You may need to use line breaks to format your content. A good example is addresses, where each line of the address
needs to be presented on a new line in the browser. You can achieve this using the <br> element. Here's an example
of an address that uses the <br> element to separate each line.
The White House<br>
1600 Pennsylvania Avenue NW<br>
Washington, DC 20500
Why not just use the <p> element for each line and make them separate paragraphs? I have placed this address
within a single <p> element because all the text content is related. Using individual <p> elements for each line of
the address would imply that the text content is not directly related.
You must only use the <br> element when line breaks are actually part of the content—in poems and addresses, for
example. You should never use the <br> element to create extra space between elements, or for other styling pur-
poses; that is a job for CSS.