title: After the click does not appear in bold
body: <p>I created an internal email system within the project. When I receive a new message the column with the subject name in my table is bolded to inform that the message has not yet been read.</p>
  
  <p>code:</p>
  
  <pre><code>&lt;?php  
     while($row = mysqli_fetch_array($result))  
          {  
          ?&gt; 
  &lt;section id="s1"&gt;
  &lt;div class="div1" id="minhaDiv" style="float: left;"&gt;  
      &lt;table class="table table-bordered"&gt;  
          &lt;tr&gt; 
              &lt;th width="20%"&gt;De&lt;/th&gt;
              &lt;th width="60%"&gt;Assunto&lt;/th&gt;
              &lt;th width="10%"&gt;Prioridade&lt;/th&gt;
              &lt;th width="10%"&gt;Recebido&lt;/th&gt;               
          &lt;/tr&gt;
          &lt;tr&gt;
          &lt;th width="10%" colspan=4&gt;Recebido: &lt;?php echo $row["Data"]; ?&gt;&lt;/th&gt;
  
          &lt;/tr&gt;       
  
          &lt;tr&gt;  
          &lt;td&gt;&lt;?php echo $row["De"]; ?&gt;&lt;/td&gt; 
              &lt;td class="td-info view_data" id="&lt;?php echo $row["Id"]; ?&gt;" data-toggle="modal" href="#dataModal" width="20%" style="font-weight:bold" onclick="this.style['font-weight'] ='normal'"&gt;&lt;?php echo $row["Assunto"]; ?&gt;&lt;/td&gt;  
          &lt;td&gt;&lt;?php echo $row["Prioridade"]; ?&gt;&lt;/td&gt; 
              &lt;td&gt;&lt;?php echo $row["Hora"]; ?&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
          &lt;?php  
          }  
          ?&gt; 
      &lt;/table&gt;  
  &lt;/div&gt;
  &lt;/section&gt;
  </code></pre>
  
  <p>In the image, which is surrounded by green already clicked to read, the red has not yet vliquei to read, so it is bold:</p>
  
  <p><a href="https://i.stack.imgur.com/M8svK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M8svK.png" alt="enter image description here"></a></p>
  
  <p>I use this code to put bold inside the <code>td</code>:</p>
  
  <pre><code>width="20%" style="font-weight:bold" onclick="this.style['font-weight'] ='normal'"
  </code></pre>
  
  <p>The problem is that if you refresh the page, even after reading the messages, they come back in bold and should not. After clicking once, they can not be left in bold</p>