html 자바스크립트 랜덤 텍스트

<!DOCTYPE html>
<html>
<head>
        <meta name="theme-color" content="#000000">
            <body bgcolor = "#000000" text="#929292">
              <font size="6px">
                <font face="메이플스토리">
                <font weight="bold">

<style>
//h1 {text-align: center;}
//p {text-align: center;}
div {text-align: center;}
</style>

</head>
<body>
<div id="show"></div>

<script language="JavaScript">
<!--
function random_text()
{};
var random_text = new random_text();
// Set the number of text strings to zero to start
var number = 0;
// Incremental list of all possible Text
random_text[number++] = "도"
random_text[number++] = "개"
random_text[number++] = "걸"
random_text[number++] = "윷"
random_text[number++] = "모"
// Create a random number with limits based on the number
// of possible random text strings
var random_number = Math.floor(Math.random() * number);
// Write out the random text to the browser
document.write(random_text[random_number]);
--></script>

</body>
</html>

댓글

이 블로그의 인기 게시물

디아2 창모드 및 명령어

vmware 최적화