title: link not working in html?
body: <p>I am designing a web page and one of my link is not working...its even not working as a link..just looking like plain text...This is my code:</p>
  
  <pre><code>&lt;a href="index.jsp" class="classname" style=" margin-top:50px;margin-left:1130px"&gt; &lt; &lt;/a&gt;
              &lt;a href="index.jsp" class="classname1" &gt; &gt; &lt;/a&gt;
  </code></pre>
  
  <p>My url of link is correct if I place this anchor tag somewhere else in code the link works..but here it doesn't .I am new to web designing and don't know what is the error?Any IDEAs?
  This is my full code:</p>
  
  <pre><code>  &lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;meta name="description" content=""&gt;
      &lt;meta name="author" content=""&gt;
      &lt;link rel="shortcut icon" href="ico/E-Mail.ico"&gt;
  
      &lt;title&gt;Mail Detective&lt;/title&gt;
  
      &lt;!-- Bootstrap core CSS --&gt;
      &lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
  
      &lt;!-- Custom styles for this template --&gt;
      &lt;link href="css/dashboard.css" rel="stylesheet"&gt;
      &lt;link href="font-awesome/css/font-awesome.css" rel="stylesheet"&gt;
      &lt;link href="css/hover.css" rel="stylesheet"&gt;
       &lt;link href="css/button.css" rel="stylesheet"&gt;
  
      &lt;!-- Just for debugging purposes. Don't actually copy this line! --&gt;
      &lt;!--[if lt IE 9]&gt;&lt;script src="../../assets/js/ie8-responsive-file-warning.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;
  
      &lt;!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --&gt;
      &lt;!--[if lt IE 9]&gt;
        &lt;script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"&gt;&lt;/script&gt;
        &lt;script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;
  
      &lt;style&gt;
          a, u {
                  text-decoration: none;
              }
      &lt;/style&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
  
      &lt;div class="navbar navbar-inverse navbar-fixed-top" role="navigation"&gt;
        &lt;div class="container-fluid"&gt;
          &lt;div class="navbar-header"&gt;
            &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
              &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;/button&gt;
  
            &lt;a class="navbar-brand" href="index.jsp"&gt;Mail Detective&lt;/a&gt;
          &lt;/div&gt;
          &lt;div class="navbar-collapse collapse"&gt;
            &lt;ul class="nav navbar-nav navbar-right"&gt;
              &lt;li&gt;&lt;a href="#"&gt;E-Mails&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Settings&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Profile&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Help&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
            &lt;form class="navbar-form navbar-right" action="Search.jsp" method="get"&gt;
              &lt;input type="text" class="form-control" placeholder="Search..." name="search"&gt;
  
            &lt;!--  a href="index.jsp"&gt;&lt;input type="submit" value=login style="color: transparent; background-color: transparent; border-color: transparent; cursor: default;"&gt;&lt;/a--&gt;
            &lt;/form&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="container-fluid"&gt;
        &lt;div class="row"&gt;
  
          &lt;div class="col-sm-3 col-md-2 sidebar"&gt;
            &lt;ul class="nav nav-sidebar"&gt;
              &lt;li class="active"&gt;&lt;a href="gmail_like.jsp"&gt;Inbox&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="Starred.jsp"&gt;Starred&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="Spam.jsp"&gt;Spam&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="Sentmail.jsp"&gt;Sentmail&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="Drafts.jsp"&gt;Drafts&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="Trash.jsp"&gt;Trash&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="Allmail.jsp"&gt;All&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
          &lt;% int value=Integer.parseInt(request.getParameter("item"));%&gt;
            &lt;a href="index.jsp" class="classname" style=" margin-top:50px;margin-left:1130px";&gt; &lt; &lt;/a&gt;
              &lt;a href="index.jsp" class="classname1" &gt; &gt; &lt;/a&gt;
          &lt;div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" style="margin-top:-60px"&gt;
  
            &lt;h1 class="page-header"&gt;E-Mails&lt;/h1&gt;
  
            &lt;!--&lt;div class="row placeholders"&gt;
            &lt;/div&gt;!--&gt;
  
            &lt;!--&lt;h2 class="sub-header"&gt;&lt;/h2&gt;--&gt;
                &lt;!--NOTIFICATION STARTS--&gt;
                  &lt;div class="col-lg-4" style="margin-left:850px"&gt;
                      &lt;div class="panel panel-default"&gt;
                          &lt;div class="panel-heading"&gt;
                              &lt;i class="fa fa-bell fa-fw"&gt;&lt;/i&gt; Notifications Panel
                          &lt;/div&gt;
                          &lt;!-- /.panel-heading --&gt;
                          &lt;div class="panel-body"&gt;
                              &lt;div class="list-group"&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-comment fa-fw"&gt;&lt;/i&gt; New Comment
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;4 minutes ago&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-twitter fa-fw"&gt;&lt;/i&gt; 3 New Followers
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;12 minutes ago&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-envelope fa-fw"&gt;&lt;/i&gt; Message Sent
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;27 minutes ago&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-tasks fa-fw"&gt;&lt;/i&gt; New Task
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;43 minutes ago&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-upload fa-fw"&gt;&lt;/i&gt; Server Rebooted
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;11:32 AM&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-bolt fa-fw"&gt;&lt;/i&gt; Server Crashed!
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;11:13 AM&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-warning fa-fw"&gt;&lt;/i&gt; Server Not Responding
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;10:57 AM&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-shopping-cart fa-fw"&gt;&lt;/i&gt; New Order Placed
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;9:49 AM&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                                  &lt;a href="#" class="list-group-item"&gt;
                                      &lt;i class="fa fa-money fa-fw"&gt;&lt;/i&gt; Payment Received
                                      &lt;span class="pull-right text-muted small"&gt;&lt;em&gt;Yesterday&lt;/em&gt;
                                      &lt;/span&gt;
                                  &lt;/a&gt;
                              &lt;/div&gt;
                              &lt;!-- /.list-group --&gt;
                              &lt;a href="#" class="btn btn-default btn-block"&gt;View All Alerts&lt;/a&gt;
                          &lt;/div&gt;
                          &lt;!-- /.panel-body --&gt;
                      &lt;/div&gt;
                &lt;!--NOTIFICATION ENDS--&gt;
            &lt;div  class="table-responsive" style="margin-top:-530px;margin-left:-900px;font-size:15px;width:900px;background-color: #f5f5f5"&gt;
  
              &lt;table class="table table-striped"&gt;
  
               &lt;%@ page import="check.test4query"  %&gt;
              &lt;% test4query demo = new test4query();
  
              //out.println(value);
              test4query dem = new test4query();
              test4query de = new test4query();
              test4query d = new test4query();
              String[] id =new String[30];
              String[] dat =new String[30];
              String[] nam =new String[30];
              String[] mailid =new String[30];
              int i;
             demo.mai("SELECT ?x WHERE { ?y &lt;FOLDERNAME:&gt; 'inbox' . ?y &lt;SUB:&gt; ?x} LIMIT 30 OFFSET"+value);
             for(i=0;i&lt;30;i++)
             {   id[i]=test4query.arr[i];
                  id[i] = id[i].substring(0, Math.min(id[i].length(), 100));
             }
            dem.mai("SELECT ?x WHERE { ?y &lt;FOLDERNAME:&gt; 'inbox' . ?y &lt;DATE:&gt; ?x} LIMIT 30 OFFSET"+value);
             for(i=0;i&lt;30;i++)
             {   dat[i]=test4query.arr[i];
                  dat[i] = dat[i].substring(0, Math.min(dat[i].length(), 19));
             }
             de.mai("SELECT ?x WHERE { ?y &lt;FOLDERNAME:&gt; 'inbox' . ?y &lt;SENDERNAME:&gt; ?x} LIMIT 30 OFFSET"+value);
             for(i=0;i&lt;30;i++)
             {   nam[i]=test4query.arr[i];
                  nam[i] = nam[i].substring(0, Math.min(nam[i].length(), 16));
             }
             demo.mai("SELECT ?x WHERE { ?y &lt;FOLDERNAME:&gt; 'inbox' . ?y &lt;MESSAGEID:&gt; ?x} LIMIT 30 OFFSET"+value);
             for(i=0;i&lt;30;i++)
             {   mailid[i]=test4query.arr[i];
                  //mailid[i] = mailid[i].substring(0, Math.min(id[i].length(), 100));
             }
  
              for(i=0;i&lt;30;i++)
              { //id[i]=test4query.arr[i];
                  out.println("&lt;tr height='5'&gt;&lt;td width='120'style='font-size:15px'&gt;"+nam[i]+"&lt;/td&gt;&lt;td width='400'&gt;"+"&lt;a href='final.jsp?itemId="+mailid[i]+"' class='button grow' style=' text-decoration: none; color:black;font-size:15px;'&gt;"+"&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp"+id[i]+"&lt;hr style='border-color:#E6E6E6;padding:0px;margin:0px'&gt;"+"&lt;/a&gt;"+"&lt;/td&gt;&lt;td width='90' style='font-size:12px'&gt;"+""+dat[i]+"&lt;/td&gt;"+"&lt;/tr&gt;");
              }i--;   
              %&gt;
  
              &lt;/table&gt;
            &lt;/div&gt;
  
  
        &lt;/div&gt;
  
      &lt;/div&gt;
  
      &lt;!-- Bootstrap core JavaScript
      ================================================== --&gt;
      &lt;!-- Placed at the end of the document so the pages load faster --&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/docs.min.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>