HTML | Marquee vspace attribute Last Updated : 27 May, 2022 Comments Improve Suggest changes Like Article Like Report The Marquee vspace attribute in HTML is used to set the vertical margin. The given value is used to set the space between the marquee element and other contents. NOTE: This attribute is not supported by HTML5. Syntax: <marquee vspace="px/%"> Attribute value: px: Specify vertical space around marquee.%: Specify vertical space around marquee. Example: html <!DOCTYPE html> <html> <head> <title>HTML | Marquee vspace attribute </title> <style> .main { text-align: center; } .marq { padding-top: 30px; padding-bottom: 30px; } </style> </head> <body> <h1 style="color:green; text-align:center;">GeeksforGeeks</h1> <div class="main"> <marquee class="marq" bgcolor="Green" direction="left" loop="" vspace=0> vspace 0 </marquee> Other content <marquee class="marq" bgcolor="Green" direction="left" loop="" vspace=50> vspace 50 </marquee> Other content </div> </body> </html> Output: Supported Browsers: The browsers supported by HTML Marquee vspace attribute are listed below: Google ChromeInternet ExplorerFirefoxApple SafariOpera Comment More infoAdvertise with us Next Article HTML | Marquee vspace attribute V Vijay Sirra Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML Marquee scrolldelay attribute The Marquee scrolldelay attribute in HTML is used to set the interval between each scroll movement in milliseconds. The default value of Scrolldelay is 85. Note: Value less then 60 is not acceptable, unless truespeed is specified. This attribute is depreciated from HTML 5.Syntax: <marquee scrolld 1 min read HTML | Marquee width attribute The Marquee width attribute in HTML is used to set the width of marquee in pixels or percentage value.Note: This attribute is not supported by HTML5. Syntax: <marquee width="px/%" > Attribute value: px: Define the width value of marquee.%: Define the width value of marquee. Example: html <! 1 min read HTML5 MathML rspace Attribute This attribute holds the value of the space length after the operator default value thickmathspace (4.32px). This attribute is accepted by MathML <mo> tag only. Syntax: <element lspace="length"> Attribute Values: length: This attribute holds the value of the space length after the operat 1 min read HTML Marquee loop attribute The Marquee loop attribute in HTML is used to define the number of times the marquee should loop. The HTML Marquee loop attribute, when set to a positive integer, determines the number of times a marquee element will repeat its scrolling behavior. A loop value of "-1" signifies an infinite loop.Note 2 min read HTML Marquee scrollamount attribute The Marquee scrollamount attribute in HTML is used to set the amount of scrolling at each interval in pixels. The default speed of the marquee value is 6. It moves the content by displaying it, then delaying it for some short period, and then displaying the content again in a new position.Note: This 1 min read HTML <img> vspace Attribute The HTML <img> vspace Attribute is used to specify the number of whitespaces on bottom and top side of an image. Note: The HTML vspace Attribute not supported by HTML5 Syntax: <img vspace="pixels">Attribute Values:pixels: It specifies the number of whitespaces on top and bottom of an ima 1 min read HTML | Marquee hspace attribute The Marquee hspace attribute in HTML is used to set the horizontal margin. A given value is used to set the space between the marquee element and other contents. Note: This attribute is not supported by HTML5. Syntax: <marquee hspace="px/%" > Attribute value: px: Specify horizontal space aroun 1 min read HTML | Marquee height attribute The Marquee height attribute in HTML is used to set the height of marquee in pixels or percentage value.Syntax: <marquee height="px/%" > Attribute value: px: Define the height value of marquee.%: Define the height value of marquee. Note : The <marquee> height attribute is not supported b 1 min read HTML | Marquee bgcolor attribute The Marquee bgcolor attribute in HTML is used to set the backgroundcolor of marquee. Note: This attribute is no longer supported in HTML5. Syntax: <marquee bgcolor="colorname" > Attribute value: color name: Define the background color of the marquee. Example: html <!DOCTYPE html> <htm 1 min read HTML <object> vspace Attribute The HTML <object> vspace Attribute is used to specify the number of whitespace on the bottom and top side of an object.Syntax: <object vspace="pixels"> Attribute: pixels: It specifies the number of whitespaces on the top and bottom of an object in terms of pixels. Note: The <object 1 min read Like