Found 2202 Articles for HTML

How to add the maximum value to HTML?

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

132 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:                              

How to specify that the audio/video will start over again, every time it is finished in HTML?

V Jyothi
Updated on 24-Jun-2020 11:42:44

348 Views

Use the loop attribute to specify that the audio/ video will start over again. You can try to run the following code to implement loop attribute −Example                                        Your browser does not support the video element.          

How do we set the range that is considered to be of low value in HTML?

Yaswanth Varma
Updated on 06-Sep-2022 07:27:56

182 Views

The range in which a gauge's value is regarded as low is specified using the HTML | low property. The low attribute's value must be higher than the "min, " lower than the "max, " and equal to or less than the "high" attribute. Note − This can only be used with tag. Syntax Following are the examples… Example In the following example we are using the low attribute in the tag. DOCTYPE html> MSD score: 5 out of 10 ... Read More

Execute a script when the cue changes in a element in HTML?

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

145 Views

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

How to refer to a element that contains pre-defined options for an element in HTML?

Yaswanth Varma
Updated on 06-Sep-2022 07:26:00

511 Views

The HTML tag is used to add autocomplete functionality to form elements. It offers customers a set of predefined options from which to choose data. A "list" attribute containing "input" element should be used with the "" tag. The datalist id and the value of the "list" attribute are related. Following are the examples… Example In the following example we are using datalist to allow pre defined option for the user. If you press A, it will show a list of cricketers starting with A letter. DOCTYPE html> ... Read More

How to specify the language of the element's content in HTML?

Yaswanth Varma
Updated on 06-Sep-2022 07:21:31

416 Views

The language of an element's content can be identified using the HTML lang property. Language code, which is used to specify the language of the displayed information, is the only value for this element. Syntax Following are the examples… Example In the following example we are using lang property to specify the language of the element content. DOCTYPE html> English The Best E-Way Learning. french Le ... Read More

How do we create the title of the text track in HTML?

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

161 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.          

Set an image as a server-side image map in HTML?

George John
Updated on 03-Mar-2020 09:58:38

756 Views

Use the ismap attribute in HTML to set the image as a server-side image map in HTML.ExampleYou can try to run the following code to implement the ismap attribute −                                 On clicking the coordinates is sent to the server as a URL query string.    

How to specify the kind of text track in HTML?

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

152 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.          

Execute a script when the content of the element is being copied in HTML?

Yaswanth Varma
Updated on 05-Sep-2022 13:16:47

137 Views

When a user copies the content of an element, the oncopy event takes place.When a user copies an element, such as an image made using the element, the oncopy event also takes place.The elements with type="text" are the ones that often use the oncopy event. Following are the examples… Example In the following example we are running a javascript when copying text of an element. DOCTYPE html> function myFunction() { ... Read More

Advertisements