HTML | Marquee bgcolor attribute Last Updated : 14 Jan, 2022 Comments Improve Suggest changes Like Article Like Report 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> <html> <head> <title>HTML Marquee bgcolor 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> <marquee class="marq" bgcolor="Green" direction="left" loop=""> Background color is green </marquee> </body> </html> Output: Supported Browsers: The browsers supported by HTML Marquee bgcolor attribute are listed below: Google Chrome Internet Explorer Firefox Apple Safari Opera Comment More infoAdvertise with us Next Article HTML bgcolor Attribute V Vijay Sirra Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML bgcolor Attribute The bgcolor attribute in HTML is used to set the background color of an HTML element. It accepts color names, hexadecimal color codes, or RGB values to customize the background appearance. However, bgcolor is considered deprecated in modern web development with the introduction and widespread adopti 3 min read HTML bgcolor Attribute The bgcolor attribute in HTML is used to set the background color of an HTML element. It accepts color names, hexadecimal color codes, or RGB values to customize the background appearance. However, bgcolor is considered deprecated in modern web development with the introduction and widespread adopti 3 min read HTML bgcolor Attribute The bgcolor attribute in HTML is used to set the background color of an HTML element. It accepts color names, hexadecimal color codes, or RGB values to customize the background appearance. However, bgcolor is considered deprecated in modern web development with the introduction and widespread adopti 3 min read HTML | thead bgcolor Attribute The HTML thead bgcolor Attribute is used to specify the background color of a table head. It is not supported by HTML 5. Syntax: <thead bgcolor= "color_name | hex_number | rgb_number"> Attribute Values: color_name: It sets the text color by using the color name. For example "red". hex_number: 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 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 Like