Just a collection of HTML odds and ends

How to create a page break

   1 <html>
   2 <body>
   3 
   4 This is the text for page #1.
   5 
   6 <p style="page-break-before: always">
   7 
   8 Page #2...
   9 
  10 <p style="page-break-before: always">
  11 
  12 Page #3...
  13 
  14 </body>
  15 </html>

!MathJax

   1 <!DOCTYPE html>
   2 <html dir="ltr" lang="en" xml:lang="en">
   3 <head>
   4 <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'></script>
   5 </head>
   6 <body>
   7 <p>
   8 Hello: $$z = -2.5$$<br/>
   9 <table border="1">
  10 <tr>
  11         <td>Some stuff about math</td>
  12         <td>\(y = \frac{\Delta y}{\Delta x} x +b\)</td>
  13 </tr>
  14 <tr>
  15         <td>Some other stuff and math</td>
  16         <td>\&#40;y=x\&#41;</td>
  17 </tr>
  18 </table>
  19 Choose an equation: 
  20 <select>
  21         <option value="A">\(y = m x + b\)</option>
  22         <option value="B">Hello</option>
  23 </select>
  24 </p><p>It seems like you should be able to do inline \(E=mc^2\) or on display $$E=mc^2$$ Math.
  25 </p>
  26 </body>
  27 </html>

HtmlOddsAndEnds (last edited 2019-04-23 12:13:37 by scot)