Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Bootstrap .radio-inline class
Use .radio-inline class to a series of radios for controls to appear on the same line. You can try to run the following code to implement the radio-inline class in Bootstrap −Example Bootstrap Forms Best Porgraming Language Java C C++
Read MoreMake a left-aligned with Bootstrap
Use the .form-inline class in Bootstrap to make a left aligned.You can try to run the following code to implement .form-inline classExample Bootstrap Example Name Name Submit
Read MoreAlign labels and groups of form controls in a horizontal layout with Bootstrap
Use the .form-horizontal class in Bootstrap to align labels and groups of form controls in a horizontal layout.You can try to run the following code to implement .form-horizontal class:Example Bootstrap Example Name Name Submit
Read MoreAdd feedback icons for inputs with Bootstrap
To add feedback icon, use the .has-feedback class in Bootstrap.You can try to run the following code to set feedback icons −Example Bootstrap Example Example
Read Moreclone() method in Java
Java provides an assignment operator to copy the values but no operator to copy the object. Object class has a clone method which can be used to copy the values of an object without any side-effect. Assignment operator has a side-effect that when a reference is assigned to another reference then a new object is not created and both the reference point to the same object. This means if we change the value in one object then same will reflect in another object as well. clone() method handles this problem. See the below example.Examplepublic class Tester { public static ...
Read MoreSet active state for Bootstrap Buttons
To set the active state for Bootstrap Buttons, use the .active class.The button will appear pressed as in the following codeExample Bootstrap Example The following are some buttons: Default Button Active Button
Read MoreForce an element to be hidden with Bootstrap
Use the .hidden class in Bootstrap to force an element to be hiddenExample Bootstrap Example This is visible. This is hidden.
Read MoreDisable a Bootstrap Button
When you disable a button, it will fade in color by 50%, and lose the gradient. Use disabled to disable any button.To disable a button, you can try to run the following code −Example Bootstrap Example The following are some buttons: Default Button Active Button Disabled Button
Read MoreHide content depending on screen size with Bootstrap
Use the .hidden-* class in Bootstrap to hide content depending on screen size with BootstrapExample Bootstrap Example This is visible. This is hidden. Hidden on small screen Hidden on medium screen
Read MoreAdd style to images with Bootstrap
The following classes are provided by Bootstrap to add style to images: .img-rounded − adds border-radius:6px to give the image rounded corners. .img-circle − makes the entire image round by adding border-radius:500px. .img-thumbnail − adds a bit of padding and a gray borderYou can try to run the following code to add style to imagesExample Bootstrap Images Styling images with Bootstrap
Read More