Computer Science, asked by sheezaakhtar7575, 2 months ago

8
5
2
3
In HTML5, which of the following HTML elements support the <label> attribute?
<track
<option>
<optgroup>
O <img>
Mark for Later​

Answers

Answered by NainaRamroop
0

The HTML label attribute is used to specify the name of the textual content track. The name of the textual content music is utilized by the browser while listing available textual content tracks. It's far utilized in <track> element.

<!DOCTYPE html>

<html>

<head>

   <style>

       body {

           text-align: center;

       }

       

       h1 {

           color: green;

       }

   </style>

</head>

<body>

   <h1>SocialMedia.Com</h1>

   <h2>HTML  label Attribute</h2>

   <video width="100"

          height="100"

          controls>

       <track src=

"https://write.socialmedia.com/wp-content/uploads/11.mp4"

              id="myTrack1"

              kind="subtitles"

              srclang="en"

              label="English"

              default>

           <source id="myTrack"

                   src=

"https://write.socialmedia.com/wp-content/uploads/11.mp4"

                   type="video/mp4">

   </video>

</body>

</html>

#SPJ1

Similar questions