Srishti Kaushal Srishti Kaushal - 5 months ago 5
CSS Question

I am not able to give a link to the icon in the list

So this is code of a bootstrap template

  • Info
  • Contact

  • `

    The internal link is working but I am not able to link it to external html doc via the icon. This is the code I gave...........(change in the first list item)

  • Info
  • Contact

  • I am unable to add code in the question as it is directly giving can I add it?


    Your code works fine, I just replaced the icon class.

    Run in full screen mode(as you are using an md offset) :

    <script src=""></script>
    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
    <!-- Optional theme -->
    <link rel="stylesheet" href="" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
    <!-- Latest compiled and minified JavaScript -->
    <script src="" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
    <div class="collapse navbar-collapse col-md-5 col-md-offset-5">
      <ul class="nav navbar-nav">
        <li><a href="index.html"><i class="glyphicon glyphicon-home" ></i></a>
        <li><a href="#info">Info</a>
        <li><a href="#contact">Contact</a>