Example : Different Hyperlink(Text) Color in Bootstrap4.

Hyperlink Text Color in Bootstrap4

<!DOCTYPE html>
<html lang="en">
  
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>A typical Bootstrap Form Template</title>

        <!-- Bootstrap CSS 4.5.2 -->
        
        <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> -->
        
        <link
        rel="stylesheet"
        href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
        />
       
    </head>

    <body>
        <section>
            <div class="container text-center">
                <!-- <h1>Various Form of Tables in a Form in Bootstrap</h1> -->
            </div>
        </section>
       
        <section>
            <div class="container my-4">
                <div class="card">
                    
                    <div class="card-header text-center">
                        <h2 style="color:green">Various Hyperlink Color on a Form in Bootstrap4</h2>
                    </div>

                    <div class="card-body">
                        <form action="" method="post" name="form1" id="form2" enctype="multipart/form-data">                            
                                
                            <div><a href="#" class="text-primary py-2">Primary Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-secondary py-2">Secondary Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-success">Success Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-danger">Danger Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-warning">Warning Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-info">Info Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-light">Light Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-dark">Dark Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-muted">Muted Hyperlink-Color in Bootstrap4</a></div> 

                            <div><a href="#" class="text-white">White Hyperlink-Color in Bootstrap4</a></div>                            

                        </form>
                    </div>

                    <div class="card-footer text-center">
                        Copyright 2020
                    </div>

                </div>
            </div>
        </section>
            
        <!-- Bootstrap JS, Popper.js, and jQuery -->
        <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>

        <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> -->

    </body>
</html>

 595 total views,  126 views today

Categories: Bootstrap

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.