Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <FONT Color=white>
- <meta charset="UTF-8">
- <B>
- <Center>
- <HEAD>Заголовок
- <Title>Основи Веб-дизайну</Title>
- </Head>
- <canvas id="q" onmousemove="color_random()">
- </canvas>
- <script>
- var width = q.width = 1337;
- var height = q.height = 50;
- var letters = Array(256).join(1).split('');
- var draw = function () {
- q.getContext('2d').fillStyle='rgba(0,0,0,.05)';
- q.getContext('2d').fillRect(0,0,width,height);
- q.getContext('2d').fillStyle='rgba(0,327,217,' + ( Math.random() * 5 + 0.80 ) + ')';;
- letters.map(function(y_pos, index){ text = String.fromCharCode(65+Math.random()*33);
- x_pos = index * 10;
- q.getContext('2d').fillText(text, x_pos, y_pos); letters[index] = (y_pos > 758 + Math.random() * 1e4) ? 0 : y_pos + 10;
- });
- }; setInterval(draw, 5);
- function color_random(){ q.getContext('2d').fillStyl = 'red';
- }
- </script>
- <Body Bgcolor="1e1e1e" BackGround="https://images.wallpaperscraft.ru/image/fon_nebo_tochki_svet_83482_1920x1080.jpg">
- <H2>
- Текст усього веб-документу
- <ol>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- <li>текст</li>
- </li>
- <ol type="I">
- <li>текст</li>
- <li>текст</li>
- <li>текст</li> </ol>
- <ol type="I"
- </FОNT>
- </Body>
- </B>
- </Center>
- </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement