Set Relationship Between Current Document and Linked Document in HTML

Govinda Sai
Updated on 03-Mar-2020 11:04:19

229 Views

Use the rel attribute to see the relationship between the current document and the linked document. It works for , , HTML elements. ExampleYou can try to run the following code to implement rel attribute. The example sets the CSS files −                         Heading       This is demo content.    

Set the Name of the Element in HTML

Abhinanda Shri
Updated on 03-Mar-2020 10:29:05

310 Views

Use the name attribute to set the name of the element. You can use this with the following HTML elements: , , , , , , , , , , , ExampleYou can try to run the following code to implement name attribute −           Subject:       Add an incorrect spelling for a word above and see what happens.       This is an editable conttent, with a spelling mistake. Click to edit.    

Set Video Audio Output to Mute in HTML

Sreemaha
Updated on 03-Mar-2020 10:27:59

422 Views

Use the muted attribute to set the audio output of the video to mute. You can try to run the following code to implement muted attribute −Example                                        Your browser does not support the video element.          

Specify Minimum Value in HTML

Sravani S
Updated on 03-Mar-2020 10:21:41

171 Views

Use the min attribute to add the minimum value in HTML. You can try to run the following code to implement min attribute −Example                    Rank:                              

Specify HTTP Method for Sending Form Data in HTML

Smita Kapse
Updated on 03-Mar-2020 10:20:50

286 Views

Use the method attribute to specify the HTTP method to use when sending form-data in HTML.ExampleYou can try the following code to implement method attribute −        HTML option Tag                                     HTML             Ruby                              

Execute a Script When Media Length Changes in HTML

Nikitha N
Updated on 03-Mar-2020 10:18:52

263 Views

The ondurationchange attribute triggers when the length of the audio/ video changes in HTML.ExampleYou can try to run the following code to implement ondurationchange attribute −                                        Your browser does not support the video element.                      function display(vLength) {             alert("Video Length: " + vLength.duration + " seconds");          }          

Add Maximum Value to HTML

radhakrishna
Updated on 03-Mar-2020 10:15:45

144 Views

Use the max attribute to add the maximum value in HTML. You can try to run the following code to implement max attribute − Example                    Rank:                              

Execute Script When Cue Changes in Track Element in HTML

Chandu yadav
Updated on 03-Mar-2020 10:02:12

156 Views

When the cue changes, the oncuechange attribute triggers in HTML. It works with the element.              Your browser does not support the video element.          

Create Title of Text Track in HTML

Anvi Jain
Updated on 03-Mar-2020 09:59:51

180 Views

Use the label attribute in HTML to create the title of the text track in HTML.ExampleYou can try to run the following code to implement the label attribute −                                                            Your browser does not support the video element.          

Specify Kind of Text Track in HTML

Srinivas Gorla
Updated on 03-Mar-2020 09:59:14

166 Views

Use the kind attribute in HTML to specify the kind of text track in HTML. For example, you can set the kind as subtitles for subtitle files.ExampleYou can try to run the following code to implement the kind attribute −                                                            Your browser does not support the video element.          

Advertisements