Front End Technology Articles

Page 572 of 652

How do we create a footer for a document or section in HTML5?

Jennifer Nicholas
Jennifer Nicholas
Updated on 03-Mar-2020 356 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          

Read More

How do we define the start of a term in a definition list in HTML?

Nikitha N
Nikitha N
Updated on 03-Mar-2020 288 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.          

Read More

Execute a script when a mouse button is released over an element in HTML?

radhakrishna
radhakrishna
Updated on 03-Mar-2020 268 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";          }          

Read More

Execute a script when the seeking attribute is set to false indicating that seeking has ended in HTML?

Chandu yadav
Chandu yadav
Updated on 03-Mar-2020 194 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;          }          

Read More

Execute a script when the user opens or closes the <details> element in HTML?

Abhinaya
Abhinaya
Updated on 03-Mar-2020 189 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");          }          

Read More

How to specify citation in HTML?

usharani
usharani
Updated on 03-Mar-2020 256 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    

Read More

How to set what browsers will show that do not support the ruby element?

V Jyothi
V Jyothi
Updated on 03-Mar-2020 181 Views

The HTML tag specifies to show browsers that do not support the ruby annotations. Ruby Annotations are used in East Asian typography.ExampleYou can try to run the following code to implement tag in HTML −           HTML Rp Tag                        漢 (Kan)          字 (ji)          

Read More

How to create a section in a document in HTML?

Jennifer Nicholas
Jennifer Nicholas
Updated on 03-Mar-2020 10K+ Views

Use the tag to add a section in a document. The HTML tag is used for defining a section of your document. With the div tag, you can group large sections of HTML elements together and format them with CSS.ExampleYou can try the following code to create a section −           HTML div Tag                            Welcome to our website. We provide tutorials on various subjects.           The following is the css file style2.css#contentinfo p {    line-height: 20px;    margin: 30px;    padding-bottom: 20px;    text-align: justify;    width: 140px;    color: red; }

Read More

How to add an inline layer in HTML?

Govinda Sai
Govinda Sai
Updated on 03-Mar-2020 436 Views

Use the tag to add an inline layer. The HTML tag is used to create a layer that occupies space in the containing text flow. Subsequent content is placed after the space occupied by the .This is in contrast to the tag, which creates a layer above the containing text flow, allowing subsequent content to be placed under the layer just created.The HTML tag supports the following attributes −AttributeValueDescriptionabovelayernameThe name of the inline layer that will be positioned directly above the current layer in the z-order.backgroundURLA filename or URL for an image upon which the inline ...

Read More

Create a paragraph with a right-to-left direction in HTML5

Arjun Thakur
Arjun Thakur
Updated on 03-Mar-2020 380 Views

Use the dir attribute in HTML to set a paragraph with right-to-left direction. Add the value rtl to the dir attribute for the text to be placed from right-to-left.ExampleYou can try to run the following code to implement dir attribute −           This is demo paragraph. This is demo paragraph.          This is demo paragraph. This is demo paragraph. This is demo paragraph.          This is demo paragraph. This is demo paragraph.    

Read More
Showing 5711–5720 of 6,517 articles
« Prev 1 570 571 572 573 574 652 Next »
Advertisements