The next command that we will explore is the break command. The break command can be used to make a large space between anything in a HTML document. A break command is often used in between pictures. People also use break commands to insert any kind of space between items on a web page that will not be done with a paragraph command. I usually use two breaks between pictures on my web page but that is completely up to you.
In order to insert a break you must first figure out where you are going to put it. If you do not put in the break command between images they will be on the same line. This will make your web page extremely long and people that are visiting that only have a 14” monitor that is set to 640x480. Pixels the person will have to scroll over and back a large amount of time and would most likely be discouraged from revisiting your web page. To insert a break command between two pictures you would need to type into the final source code the code for the first picture using a IMG SRC command (previously discussed) followed by the break command. The break command is an angle bracket “<“ followed by the letters BR followed by another angle bracket “>”. After the break command the second IMG SRC command must be inserted. Let’s say we have two images. One of the images is named image.gif and the other one is named image2.gif. Let’s say these images are banner sized and you don’t want them next to each other so you decide to put a break in between them. The final source for this coding would look like this:
<IMG SRC=”image.gif”>
<BR>
<IMG SRC=”image2.gif”>
Let’s say you want to follow my example and put two breaks in between the images because you tried it with one break and you don’t think that the page looks good. The final source for this document would look like this:
<IMG SRC=”image.gif”>
<BR>
<BR>
<IMG SRC=”image.gif”>
Let’s say you think the space in between those images with two breaks is too large but the one with one break is two small. There is something that can be done about this. You can kind of “cheat” the system and use the paragraph command to make a smaller space then a break. The final source for this document would look like this: