Anvi Jain has Published 569 Articles

What are Bootstrap Transition Plugins

Anvi Jain

Anvi Jain

Updated on 12-Jun-2020 18:52:40

213 Views

Transition.js is a basic helper for transitionEnd events as well as a CSS transition emulator. It is used by the other plugins to check for CSS transition support and to catch hanging transitions.If you want to include this plugin functionality individually, then you will need transition.js once alongside the other ... Read More

Bootstrap .btn-success class

Anvi Jain

Anvi Jain

Updated on 12-Jun-2020 16:18:51

477 Views

To set a successful action in Bootstrap, use the .btn-success class.You can try to run the following code to implement btn-success class in Bootstrap −ExampleLive Demo        Bootstrap Example                                       Success Button    

What is the purpose of wrapping whole JavaScript files in anonymous functions?

Anvi Jain

Anvi Jain

Updated on 12-Jun-2020 08:58:55

956 Views

The purpose of wrapping is to a namespace and control the visibility of member functions. It wraps the code inside a function scope and decreases clashing with other libraries. This is what we call Immediately Invoked Function Expression (IIFE) or Self Executing Anonymous Function.SyntaxHere’s the syntax −(function() {    // ... Read More

How do we add a single-line input field in HTML?

Anvi Jain

Anvi Jain

Updated on 30-May-2020 22:59:17

686 Views

Use the tag to add a single-line input field. The HTML tag is used for querying a document through a text field. The tag can be used anywhere but head tag is preferable. Note: It is a deprecated tag and should not be used.The following are the attributes ... Read More

Which event occurs in JavaScript when an element is getting dragged?

Anvi Jain

Anvi Jain

Updated on 22-May-2020 11:28:34

145 Views

Use the ondrag event in JavaScript to drag an element. The ondrag event is triggered when an element is dragged.ExampleYou can try to run the following code to learn how to work with ondrag event in JavaScript.                    .drag {     ... Read More

What is the usage of onscroll event in JavaScript?

Anvi Jain

Anvi Jain

Updated on 21-May-2020 07:48:28

195 Views

The onscroll event occurs when scrollbar is being scrolled for an element. You can try to run the following code to learn how to implement onscroll event in JavaScript.Example                    div {             border: 2px solid ... Read More

How to use placeholder attribute in HTML?

Anvi Jain

Anvi Jain

Updated on 14-May-2020 10:54:04

5K+ Views

If you want to set a hint for text area or input field, then use the HTML placeholder attribute. The hint is the expected value, which gets displayed before the user enters a value, for example, name, details, etc.ExampleYou can try to run the following code to learn how to ... Read More

How can I display an image inside SVG circle in HTML5?

Anvi Jain

Anvi Jain

Updated on 13-May-2020 11:09:15

10K+ Views

To display an image inside SVG circle, use the element and set the clipping path. The element is used to define a clipping path. Image in SVG is set using the element.ExampleYou can try to run the following code to learn how to display an image inside ... Read More

How do we create the title of the text track in HTML?

Anvi Jain

Anvi Jain

Updated on 03-Mar-2020 09:59:51

159 Views

Use the label attribute in HTML to create the title of the text track in HTML.ExampleYou can try to run the following code to implement the label attribute −                                                            Your browser does not support the video element.          

How to display text ruby annotation in HTML5?

Anvi Jain

Anvi Jain

Updated on 03-Mar-2020 06:23:49

287 Views

Use the tag to display text ruby annotation. The HTML5 tag is used for pronunciation of character in ruby annotations. These are for showing pronunciation of East Asian characters.ExampleYou can try to run the following code to display text ruby annotation −           HTML Rt Tag                        漢 (Kan)          字 (ji)          

Advertisements