Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML | poster Attribute

Improve Article
Save Article
  • Last Updated : 08 Dec, 2021
Improve Article
Save Article

The HTML poster Attribute is used to display the image while video downloading or when the user clicks the play button. If this image not set then it will take the first frame of video as a poster image.
It is mainly used in <video> element. 

<video poster="URL">

Attribute Values: It contains a single value URL which specifies the link of source image. There are two types of URL link which are listed below: 

  • Absolute URL: It points to another webpage.
  • Relative URL: It points to other files of the same web page.



<!DOCTYPE html>
    HTML video poster Attribute
        <h1 style="color:green;">
        <h3>HTML poster Attribute</h3>
        <video width="400"
            controls poster=
            <source src=
            <source src=


Supported Browsers: The browsers supported by HTML poster Attribute are listed below: 

  • Google Chrome 4.0
  • Internet Explorer 9.0
  • Firefox 3.5
  • Apple Safari 4.0
  • Opera 10.5


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!