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 by karthikeya Boyini
Page 80 of 143
Bootstrap panel class
Panel components are used when you want to put your DOM component in a box. To get a basic panel, just add class .panel to the element.You can try to run the following code to implement panel class in BootstrapExample Bootstrap Example Demo panel
Read MoreCreate a tabbed menu with Bootstrap
To create a tabbed menu with Bootstrap, you can try to run the following codeExample Bootstrap Example Database The following are the database technologies: DB2 MySQL SQL CouchDB
Read MoreBootstrap Accordion
To create an Accordion in Bootstrap, you can try to run the following codeExample Bootstrap Example My Website Tutorials We provide tutorials on C, C++, Java, PHP, Networking, SEO, C++, C, etc. Quiz We provide quizzes on C, C++, Java, PHP, Ruby, DBMS, Networking, SEO, etc.
Read MoreSet warning action for a list item in a list group with Bootstrap
To set warning action for a list item in a list group, use the .list-group-item-warning classExample Bootstrap Example Demo A B C D
Read MoreAdd HTML Content to Bootstrap List Group
Bootstrap list groups are added using the list-group-item class.Add HTML content to the linked list groups using the following codeExample Bootstrap Example Tutorials Programming Tutorials on Java, C, C++, etc. Web Development Tutorials on PHP, HTML5, etc. Database Tutorials on DBMS, MySQL, DB2, etc. Quiz CAT Quiz for CAT students. NEET Quiz for NEET students.
Read MoreSet the width of an element to 25% in Bootstrap
To set the width of an element to 25%, use the .w-25 class in Bootstrap.You can try to run the following code to set element’s widthExample Bootstrap Example Set element width Normal width Width is 50% Width is 25%
Read MoreSet the width of an element to 100% in Bootstrap
To set the width of an element to 100%, use the .w-100 class in Bootstrap.You can try to run the following code to set element’s widthExample Bootstrap Example Set element width Normal width Width is 25%
Read MoreAddition and Concatenation in Java
'+' operator in java can be used to add numbers and concatenate strings. Following rules should be considered.Only numbers as operands then result will be a number.Only strings as operands then result will be a concatenated string.If both numbers and strings as operands, then numbers coming before string will be treated as numbers.If both numbers and strings as operands, then numbers coming after string will be treated as a string.Above rule can be overridden using brackets().ExampleCreate a java class named Tester.Tester.javapublic class Tester { public static void main(String args[]) { //Scenario 1: Only ...
Read MoreBootstrap Horizontal Form
To create a horizontal form in Bootstrap, follow the below steps − Add a class of .form-horizontal to the parent element. Wrap labels and controls in a with class .form-group. Add a class of .control-label to the labels.You can try to run the following code to create a horizontal form in Bootstrap −Example Bootstrap Example First Name Last Name Remember me Sign in
Read MoreDate Parsing using SimpleDateFormat
The SimpleDateFormat class has parse() method, which tries to parse a string according to the format stored in the given SimpleDateFormat object.Exampleimport java.util.*; import java.text.*; public class DateDemo { public static void main(String args[]) { SimpleDateFormat ft = new SimpleDateFormat ("yyyy-MM-dd"); String input = args.length == 0 ? "1818-11-11" : args[0]; System.out.print(input + " Parses as "); Date t; try { t = ft.parse(input); System.out.println(t); } catch (ParseException e) { System.out.println("Unparseable using " + ft); } } }A sample run of the above program would produce the following result −Output1818-11-11 Parses as Wed Nov 11 00:00:00 EST 1818
Read More