Now we come to two more attributes: hspace (horizontal) and vspace (vertical). We'll see how these work. I have no information about which browsers support these attributes.
For the hspace attribute, I have used a yellow marquee with width of 500 and height of 40 for the first marquee. For the second one, I added an hspace of 10. Both have a border of 1 pixel. I did not use any <br> tag between the two.
This is to illustrate the hspace.
The OLD result is that the two marquees were jammed one on top of the other. But now a few years later, there's a space between them!
So now let's test the hspace attribute again by making the marquees shorter so they run one on the left, the other on the right. The left marquee has no hspace attribute. Only the right one has the hspace=50 pixels..
Well, as we can see, the hspace when used in the second marquee that follows the first one on the same line, seems to separate the two by the amount of hspace specifies.
So let's try the vspace attribute next. Each marquee is the same as the above two samples.
Apparently the vspace is effective, as it separates the two marquees by 10 pixels!
Now how, you may ask, are these two attributes valuable, when we can use <br> tags in place of the vspace attribute, and the tags for the hspace one? These two attributes are valuable only if we need to be precise about the spacings, as we're using pixels instead of the built-in spacing of the other two tags.