Testseite Prettify

Diese Seiten dienen nur dem Test bestimmter Funktionen. Auf allen Seiten wird automatisch der JavaScript-Code zur Nutzung der Colorbox und für die Syntax-Hervorhebung mit Hilfe von Prettify/Prettyprint eingebunden.

// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
  for (var i = 42; --i >= 0;) {
    alert('Hello ' + String(world));
  }
}
p { color: pink }
b { color: blue }
u { color: "umber" }

Inline HTML mit Code

<script type="text/javascript">
  // Say hello world until the user starts questioning
  // the meaningfulness of their existence.
  function helloWorld(world) {
  for (var i = 42; --i >= 0;) {
  alert('Hello ' + String(world));
  }
  }
  </script>
  <style>
  p { color: pink }
  b { color: blue }
  u { color: "umber" }
  </style>

Inline HTML mit anderem Inhalt

das ist einfach ein Text