Found 11336 Articles for Web Development

Execute a script when the seeking attribute is set to true indicating that seeking is active in HTML?

Smita Kapse
Updated on 29-May-2020 22:51:50

55 Views

Use the onseeking attribute to indicate that seeking is active in a video in HTML.ExampleYou can try to run the following code to execute a script when the seeking attribute is set to true indicating that seeking is active in HTML −                                        Your browser does not support the video element.                      function display() {             alert("Seeking starts!");          }          

How do we embed audio in web pages in HTML5?

Giri Raju
Updated on 03-Mar-2020 05:57:56

278 Views

Use the tag to embed audio in a web page in HTML5. You can try to run the following code to implement tag −Example           HTML audio Tag               Click on Play button...       (Song: Kalimba which is provided as a Sample Music in Windows)                          

How do we add bold text in HTML?

Nishtha Thakur
Updated on 03-Mar-2020 05:58:35

892 Views

To display bold text, use the tag. The HTML tag is used for emphasizing an important text.ExampleYou can try to run the following code to implement tag in HTML −           HTML strong Tag               This is an important text    

How do we add glossary definitions in HTML?

Anvi Jain
Updated on 24-Jun-2020 08:31:31

1K+ Views

Use the tag in HTML to add the glossary definitions. The HTML tag is used for declaring a definition list. This tag is used within tag.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 implement tag −           HTML dl Tag                        Definition List          A list of terms and their definitions/descriptions.          HTML          An HTML tutorial.          PHP          An PHP tutorial.          

How to add an article in HTML5?

Yaswanth Varma
Updated on 24-Nov-2023 01:41:31

762 Views

In this article we are going to learn about how to add an article in HTML5. One of the new sectioning elements in HTML5 is the tag. An article is represented in HTML using the tag. More specifically, the content contained in the element is distinct from the rest of the site's content (even though it can be related). Let’s consider the following examples to know how to add an article in HTML5 Example 1 In the following examples we are using inline styling in an article element. ... Read More

How do we define an area in an image map with HTML?

Abhinanda Shri
Updated on 03-Mar-2020 06:28:47

354 Views

Use the tag to define area in an image map in HTML.The HTML tag supports the following additional attributes −AttributeValueDescriptionAltTextSpecifies an alternate text for the area.coordsif shape = "rect" then coords = "left, top, right, bottom"if shape = "circ" then coords = "centerx, centery, radius"if shape = "poly" then coords = "x1, y1, x2, y2, .., xn, yn"Specifies the coordinates appropriate to the shape attribute to define a region of an image for image maps.download filenameSpecifies that the target gets downloaded when the hyperlink is clicked by the user.HrefURLSpecifies the URL of a page or the name of ... Read More

How to create a hyperlink to link another document in HTML?

Chandu yadav
Updated on 03-Mar-2020 05:50:20

2K+ Views

Use the tag to create a hyperlink. The HTML tag is used for creating a hyperlink either to another document, or somewhere within the current document.The following are the attributes −AttributeValueDescriptionCharsetcharacter_encodingDefines the character encoding of the linked document.Cordsif shape = "rect" then coords = "left, top, right, bottom"if shape = "circ" then coords = "centerx, centery, radius"if shape = "poly" then coords = "x1, y1, x2, y2, .., xn, ynSpecifies the coordinates appropriate to the shape attribute to define a region of an image for image maps.downloadfilenameThis downloads the target when user clicks on the hyperlink.HrefURLSpecifies the URL ... Read More

How to we use global translate attribute in HTML5?

Nitya Raut
Updated on 29-May-2020 22:53:50

103 Views

The translate attribute is useful to set that the content of an element is to be translated or not.The following are the attributes −AttributeValueDescriptionYesThe content should be translated.NoThe content should be translated.If you did not want a specific word to be translated, then add it to the translate attribute −This won’t get translated.

How do we add a comment in HTML code?

Yaswanth Varma
Updated on 15-Dec-2022 14:41:33

465 Views

In this article we are going to learn about how do we add a comment in HTML code. Let’s dive into the article for getting better understanding on adding comment in HTML code. To add comments to HTML code, use the comment tag (!— Comment—>). It is a good coding practice so that both the coder and the reader can benefit from assistance in understanding the code. It is helpful to comprehend the intricate code's steps. When codes are being debugged, the comment tag is useful. It is a straightforward bit of code that web browsers wipe off (ignore), ... Read More

How to specify the usage of an element using the tabbing order (tab keyboard button) in HTML?

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

118 Views

Use the tabindex attribute in HTML to set the tabbing order of an element. It gives you the authority to change the order of your TAB usage on the keyboard. You can try to run the following code to create tabbing order of an element in HTML − Example Live Demo Current Affairs Coding Ground Verbal Ability Quantitative Aptitude We have changed the tab order above. Use TAB on keyboard to view the changes.

Advertisements