Menu Riverview Church

PHP

PHP: Hypertext Preprocessor (PHP) is a language for creating web content.

EXAMPLES

<!doctype html>
<html>
<head>
    <title>Title</title>
    <style>
        body {
            background-color: black;
        }
        p {
            color: white;
            margin: 0;
            position: absolute;
        }
    </style>
    <script>
        onload = function() {
            var element = document.getElementsByTagName("p")[0];
            element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
            element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
            setTimeout(onload, 1000);
        }
        function random(min, max) {
            return Math.random() * (max - min) + min;
        }
    </script>
</head>
<body>
    <p>PHP</p>
</body>
</html>

PHP