Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
Bootstrap Text Colors Example
Keywords : colors, bootstrap, bootstrap colors, bootstrap colors examples, bootstrap primary text color, bootstrap danger class, bootstrap info class, bootstrap 3, bootstrap 4
Example
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Text Colors Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> <style> .bcontent { margin-top: 10px; } </style> </head> <body> <div class="container bcontent"> <p class="text-primary">It's primary text message</p> <p class="text-secondary">It's secondary text message</p> <p class="text-success">It's success text message</p> <p class="text-danger">It's danger text message</p> <p class="text-warning">It's warning text message</p> <p class="text-info">It's info text message</p> <p class="text-light bg-dark">It's light text message</p> <p class="text-dark">It's dark text message</p> <p class="text-muted">It's muted text message</p> </div> </body> </html>
Click Here to See Result
Result
Previous
Next