title: Change font in php
body: <p>I am trying to change the font of the php section of a website to use a <code>googlefont</code>. I have tried various css options and style option but nothing seems to work. Can anyone please share some ideas. Here is my code:</p>
  
  <pre><code>    &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
      &lt;html&gt;
      &lt;head&gt;
      &lt;title&gt;View Records&lt;/title&gt;
      &lt;link href='http://fonts.googleapis.com/css?family=Abel' rel='stylesheet' type='text/css'&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
  
      &lt;?php
      /* 
      VIEW.PHP
      Displays all data from 'players' table
      */
  
      // connect to the database
      include('connect-db.php');
  
      // get results from database
      $result = mysql_query("SELECT * FROM `MEN - IAAF WORLD CHAMPIONSHIPS` WHERE 1") 
      or die(mysql_error());  
  
      echo "&lt;table border='1' cellpadding='10'&gt;";
      echo "&lt;tr&gt; &lt;th&gt;EVENT&lt;/th&gt; &lt;th&gt;ATHLETE 1&lt;/th&gt; &lt;th&gt;PERFORMANCE&lt;/th&gt; &lt;th&gt;ATHLETE 2&lt;/th&gt;&lt;th&gt;PERFORMANCE&lt;/th&gt;&lt;th&gt;ATHLETE 3&lt;/th&gt;&lt;th&gt;PERFORMANCE&lt;/th&gt;      &lt;th&gt;&lt;/th&gt;&lt;/tr&gt;";
  
      // loop through results of database query, displaying them in the table
      while($row = mysql_fetch_array( $result )) {
  
      // echo out the contents of each row into a table
      echo "&lt;font size='18' face='Arial'&gt;&lt;tr&gt;";
      echo '&lt;td&gt;' . $row['Event'] . '&lt;/td&gt;';
      echo '&lt;td&gt;' . $row['Athlete1'] . '&lt;/td&gt;';
      echo '&lt;td&gt;' . $row['Performance1'] . '&lt;/td&gt;';
      echo '&lt;td&gt;' . $row['Athlete2'] . '&lt;/td&gt;';
      echo '&lt;td&gt;' . $row['Performance2'] . '&lt;/td&gt;';
      echo '&lt;td&gt;' . $row['Athlete3'] . '&lt;/td&gt;';
      echo '&lt;td&gt;' . $row['Performance3'] . '&lt;/td&gt;';
      echo '&lt;td&gt;&lt;a href="edit.php?id=' . $row['id'] . '"&gt;Edit&lt;/a&gt;&lt;/td&gt;';
  
      echo "&lt;/tr&gt;"; 
      } 
  
      // close table&gt;
      echo "&lt;/table&gt;";
      ?&gt;
      &lt;/p&gt;
  
      &lt;/body&gt;
      &lt;/html&gt; 
  </code></pre>