HTML CSS Reference/HTML Tag Reference/spacer

Материал из Web эксперт
Перейти к: навигация, поиск

"spacer" Example

    
<html>
<head>
<title>spacer element example</title>
</head>
<body>
    <p>Text
        <spacer type="vertical" size=200>Space
        <spacer type="vertical" size=200>Space        
        <spacer type="vertical" size=200>Space        
    </p>
</body>
</html>



"spacer" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |align                           height                        |
| Attributes     |size                            type                          |
|                |width                                                         |
+----------------+--------------------------------------------------------------+



"spacer" Syntax and Note

Note:
This element controls the spacing of content. 
It creates blank space without forcing you to use spaces (&nbsp;), 
<p> tags, or transparent images.
    
Syntax:
    
<spacer attributes> . . . </spacer>