Skip to content
Related Articles

Related Articles

Improve Article

HTML | Marquee height attribute

  • Last Updated : 23 Jul, 2021

The Marquee height attribute in HTML is used to set the height of marquee in pixels or percentage value.

<marquee height="px/%" >

Attribute value: 

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

  • px: Define the height value of marquee.
  • %: Define the height value of marquee.



<!DOCTYPE html>
    <title>Marquee Tag</title>
        .main {
            text-align: center;
    <h1 style="color:green; text-align:center;">
    <div class="main">
        <marquee height=25px
        <marquee height=50px


Supported Browsers: The browsers supported by HTML Marquee height attribute are listed below: 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Apple Safari
  • Opera


My Personal Notes arrow_drop_up
Recommended Articles
Page :