Smita Kapse has Published 560 Articles

Justified Nav in Bootstrap

Smita Kapse

Smita Kapse

Updated on 12-Jun-2020 16:15:23

119 Views

For justified nav in Bootstrap, use the .nav-justfied class. You can try to run the following code for justified nav on a web page:ExampleLive Demo           Bootstrap Example                                 Subjects                Home          Tutorials          Videos          QA          Tutors          

How to make a page redirect using jQuery?

Smita Kapse

Smita Kapse

Updated on 12-Jun-2020 12:20:30

783 Views

To redirect to another webpage in jQuery, use attr(). You can try to run the following code to redirect to another webpage −Example                                $(document).ready(function() {             $(location).attr('href','http://qries.com');          });                  

What is "function*" in JavaScript?

Smita Kapse

Smita Kapse

Updated on 12-Jun-2020 09:02:44

175 Views

The function* declaration is used to define a generator function. It returns a Generator object. Generator Functions allows execution of code in between when a function is exited and resumed later. So, generators can be used to manage flow control in a code.SyntaxHere’s the syntax −function *myFunction() {} // or ... Read More

HTML checked Attribute

Smita Kapse

Smita Kapse

Updated on 10-Jun-2020 07:15:29

185 Views

The checked attribute of the element specifies that the input type checkbox is checked when the web page loads. You can also use this attribute with input type radio.Following is the syntax −Above, we have set it checked since we wanted the checkbox to be selected when the web ... Read More

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

Smita Kapse

Smita Kapse

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

62 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 −               ... Read More

What is the role of parseInt() method in JavaScript?

Smita Kapse

Smita Kapse

Updated on 23-May-2020 11:04:04

134 Views

Use the parseInt() method in JavaScript to return an integer after parsing a string. You can also set the numeral system as a second parameter.ExampleYou can try to run the following code to learn how to work with parseFloat() method in JavaScript.             ... Read More

What is the usage of oninvalid event in JavaScript?

Smita Kapse

Smita Kapse

Updated on 22-May-2020 11:17:18

196 Views

The oninvalid event is triggered if the field value added in is invalid. Add a message if the user forgets to fill the form before submission.ExampleYou can try to run the following code to learn how to implement oninvalid event in JavaScript.             ... Read More

How to use step attribute in HTML?

Smita Kapse

Smita Kapse

Updated on 14-May-2020 10:53:14

184 Views

The HTML input type step attribute sets the legal number intervals. Steps are number steps like 0, 4, 8, 12, 16, etc. The step attribute can be used together with the max and min attributes to create a range of legal values.ExampleYou can try to run the following code to ... Read More

How to specify the URL of the image to use in different situations in HTML?

Smita Kapse

Smita Kapse

Updated on 03-Mar-2020 11:25:00

224 Views

Use the srcset attribute to specify the URL of the image to use in different situations in HTML.ExampleYou can try to run the following code to implement srcset attribute. Resize the browser to see different images loading −                                                                

How to specify the HTTP method to use when sending form-data in HTML?

Smita Kapse

Smita Kapse

Updated on 03-Mar-2020 10:20:50

171 Views

Use the method attribute to specify the HTTP method to use when sending form-data in HTML.ExampleYou can try the following code to implement method attribute −        HTML option Tag                                     HTML             Ruby                              

Previous 1 ... 7 8 9 10 11 ... 56 Next
Advertisements