demo.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <html>
  2. <head>
  3. <title>Nebs demo</title>
  4. <style>
  5. body { margin: 10px; color: #e4e6f0; }
  6. h1 { color: #ff8a66; }
  7. h2 { color: #7fb0ff; }
  8. .note { background-color: #2a2f3f; margin: 10px; padding: 8px; }
  9. pre { background-color: #32384a; padding: 6px; }
  10. a { color: #7fb0ff; }
  11. td { padding-right: 18px; }
  12. </style>
  13. </head>
  14. <body>
  15. <h1>Local browser demo</h1>
  16. <p>This page came from <b>/floppy1/DEMO.HTM</b> and was rendered by the
  17. Nebs browser: HTML, a little CSS and an inline image, with no JavaScript.</p>
  18. <div class="note">
  19. <b>Inline styles and classes:</b>
  20. <span style="color:#7ee787;">green span</span>,
  21. <span style="background-color:#32384a;">light background</span>,
  22. <b>bold</b>, <u>underlined</u> and <a href="TEST.TXT">a relative link</a>.
  23. </div>
  24. <h2>Lists</h2>
  25. <ul>
  26. <li>one item</li>
  27. <li>another item with a <a href="/floppy1/HELLO.TXT">link to HELLO.TXT</a></li>
  28. </ul>
  29. <ol>
  30. <li>first</li>
  31. <li>second</li>
  32. </ol>
  33. <h2>Table and image</h2>
  34. <table>
  35. <tr><td><b>Format</b></td><td><b>Source</b></td></tr>
  36. <tr><td>BMP</td><td>PIC.BMP on this floppy</td></tr>
  37. <tr><td>PNG/JPEG/GIF</td><td>served over HTTP</td></tr>
  38. </table>
  39. <p><img src="PIC.BMP" width="240" alt="test bitmap"></p>
  40. <h2>Preformatted</h2>
  41. <pre>if (browser) {
  42. render(html);
  43. }</pre>
  44. <p><a href="about:home">Back to the browser home page</a></p>
  45. </body>
  46. </html>