Use the HTML tag to display a footer for a document or section. You can try to run the following code to implement tag −Example HTML Footer Tag Simply Easy Learning You're visiting tutorialspoint.com - tutorial hub for simply easy learning. © Copyright 2018, All Rights Reserved
The HTML tag is used to define the start of a term in a definition list. A definition list is similar to other lists but in a definition list, each list item contains two entries; a term and a description.ExampleYou can try to run the following code to define the start of a term in a definition list using the tag − HTML dt Tag Definition List A list of terms and their definitions/descriptions. JAVA Tutorial on JAVA Programming Language. Android Tutorial on Android Operating System.
When the mouse button is released over an element, the onmouseup event triggers. You can try to run the following code to implement onmouseup attribute −Example This is demo heading. Click above and then release. function mouseDown() { document.getElementById("myid").style.color = "yellow"; } function mouseUp() { document.getElementById("myid").style.color = "blue"; }
Let us first create a table −mysql> create table DemoTable -> ( -> Value int -> ); Query OK, 0 rows affected (1.33 sec)Insert some records in the table using insert command −mysql> insert into DemoTable values(25); Query OK, 1 row affected (0.11 sec) mysql> insert into DemoTable values(75); Query OK, 1 row affected (0.11 sec) mysql> insert into DemoTable values(100); Query OK, 1 row affected (0.13 sec)Display all records from the table using select statement −mysql> select * from DemoTable;This will produce the following output −+-------+ | Value | +-------+ | 25 | | ... Read More
The onseeked attribute executes a script when the user skips or moves to a new position in the audio or video.ExampleYou can try to run the following code to implement onseeked attribute − Play Your browser does not support the video element. function myFunction() { document.getElementById("test").innerHTML = "Current position: " + document.getElementById("myid").currentTime; }
Use the onsuspend attribute in HTML to run the script when the loading of media data suspends, for example, when download completes. It can happen in any of the following situations −When a download is paused When a download completes Media is suspended, etc.The attribute can be used with the and elements and works in all the modern web browsers such as Firefox, Chrome, Opera, Safari, etc.
When a user opens or closes the element, the ontoggle event fires. You can try to run the following code to implement ontoggle event attribute −Example Details You need to join office from Feb23 More Information Timings: 9 to 5:30 Office location: Hyderabad function myFunction() { alert("Timings, office location, etc"); }
Use the tag in HTML to specify citation. Cite can be defined as the title of a work. You can try to run the following code to implement tag for adding citation −Example HTML cite Tag The learning content can be referred from Data Structures & Algorithms in Java
Use the tag to insert a single line break in HTML. You can try to run the following code to insert a line break using the tag −Example HTML br Tag This is before the line break and this after the line break.
Use the dir tag in HTML to display directory list. This is very similar to tag but do not use since it is deprecated now.The following is the attribute −AttributeValueDescriptionCompactcompactDeprecated − Specifies a compact rendering.ExampleYou can try to run the following code to show a directory list in HTML − HTML dir Tag The following are the values: car bike ship