Hallo Daniel,
Also suchst Du sowas wie:
<html>
<head>
<script type="text/javascript">
function neu() {
document.write("<b>Neuer Text</b>")
}
</script>
</head>
<body onLoad="neu();">
<b>Dummer Test; der Anfang soll nicht mehr angezeigt werden.</b>
</body>
</html>
Grüße
Andreas