<class home>  <html part II>   <back   next>

html continued

Controlling Line Breaking:

The break tag creates a line break <br />
If you don't indicate where a line will break, then you have no controll over what will happen to your content in different browser sizes.
What if you need two images together or text and images together.
Use the <nobr> tag. It needs an open and closing tag.

What if you want the line to break at a certain place, but only if a break is necessary. Use the <wbr> tag in addition to the <nobr> tag.

WARNING!!! This works in IE on the PC, but may not work in most other browsers. Check before you use.


example>>>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Pony Pony Pony</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Here is the pony. Isn't she terribly lovely and kind. Oh yes, and she likes carrots and bread. And long walks through the forest. She likes to chase the squirrels and rabbits. Nipping at their precious little fuzzy tails.<br />

<nobr><img src="pony.gif" />When she was a little foal, she had the softest fur.</nobr>
<p>
<nobr><img src="pony.gif" />When she was a little foal, <wbr>she had the softest fur.</nobr>

</body>
</html>