Found 2416 Articles for HTML

How do we add a noframe section in HTML?

radhakrishna
Updated on 03-Mar-2020 06:01:14

142 Views

Use the tag to add a noframe section. The HTML tag is used to handle the browsers which do not support tag. This tag is used to display an alternate text message.Example           HTML noframes Tag                                                 Your browser does not support frames.                    

How to include content to be presented by browsers that do not support the tag in HTML?

Srinivas Gorla
Updated on 03-Mar-2020 06:00:35

70 Views

The HTML tag is used to handle browsers which do not support the tag. The tag makes it easy to supply alternative content that tells users what they are missing.Example           HTML noembed Tag                                  

Execute a script when the element gets user input in HTML?

mkotla
Updated on 23-Nov-2023 14:03:27

1K+ Views

Use the oninput event attribute to trigger when an element gets user input. You can try to run the following code to implement oninput attribute − Example           Write your name below:                            function display() {             var p = document.getElementById("myid").value;             document.getElementById("test").innerHTML = "Your answer is " + p;          }          

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

66 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

308 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

1K+ 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

2K+ 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

836 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

402 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

Advertisements