Create a Footer for a Document or Section in HTML5

Jennifer Nicholas
Updated on 03-Mar-2020 07:06:18

316 Views

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          

Define Start of a Term in Definition List in HTML

Nikitha N
Updated on 03-Mar-2020 07:05:35

253 Views

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.          

Execute Script on Mouse Button Release in HTML

radhakrishna
Updated on 03-Mar-2020 07:04:51

228 Views

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";          }          

Select Equal or Nearest Greater Number from Table in MySQL

AmitDiwan
Updated on 03-Mar-2020 07:04:48

756 Views

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

Execute Script When Seeking Attribute is Set to False in HTML

Chandu yadav
Updated on 03-Mar-2020 07:03:46

177 Views

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;          }          

Execute Script When Media Data Fetching is Stopped in HTML

Abhinanda Shri
Updated on 03-Mar-2020 07:00:28

371 Views

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.

Execute Script on Opening or Closing Details Element in HTML

Abhinaya
Updated on 03-Mar-2020 06:51:55

158 Views

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");          }          

Specify Citation in HTML

usharani
Updated on 03-Mar-2020 06:48:41

203 Views

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    

Insert Single Line Break in HTML

George John
Updated on 03-Mar-2020 06:46:12

678 Views

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.    

Display a Directory List in HTML

Chandu yadav
Updated on 03-Mar-2020 06:38:02

11K+ Views

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          

Advertisements