JSFiddle - React, Tailwind, and code Playground

by Ryan Sheehy

HTML

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>HTML Fractions - Table</title>
  <style>
table {
  font-size: 16px;
}

div.numer {
  border-bottom:1px solid;
  text-align:center;
  font-size: 0.8em;
}

div.denom {
  font-size: 0.8em;
  border-top: 1px solid;
  text-align: center;
}
  </style>
</head>
<body>
  
<table>
<tr><td>Substitute 4 for 'x' in the equation: &nbsp;</td>
 <td>
    <div class="numer">x<sup>2</sup> + 3x + 5</div>
    <div class="denom">2x</div>
  </td>
</tr>
</table>

</body>
</html>