demo.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <html>
  2. <head>
  3. <title>NebOS 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. NebOS 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>, <i>italic</i>, <u>underlined</u>,
  23. <span style="font-size:20px;">20px text</span>,
  24. <span style="font-family:monospace;">mono text</span> and
  25. <a href="TEST.TXT">a relative link</a>.
  26. </div>
  27. <h2>Lists</h2>
  28. <ul>
  29. <li>one item</li>
  30. <li>another item with a <a href="/floppy1/HELLO.TXT">link to HELLO.TXT</a></li>
  31. </ul>
  32. <ol>
  33. <li>first</li>
  34. <li>second</li>
  35. </ol>
  36. <h2>Table and image</h2>
  37. <table>
  38. <tr><td><b>Format</b></td><td><b>Source</b></td></tr>
  39. <tr><td>BMP</td><td>PIC.BMP on this floppy</td></tr>
  40. <tr><td>PNG/JPEG/GIF</td><td>served over HTTP</td></tr>
  41. </table>
  42. <p><img src="PIC.BMP" width="240" alt="test bitmap"></p>
  43. <h2>Preformatted</h2>
  44. <pre>if (browser) {
  45. render(html);
  46. }</pre>
  47. <p><a href="about:home">Back to the browser home page</a></p>
  48. </body>
  49. </html>