PHP
php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Example</title>
<style>
body { background-color: <?php echo "thistle"; ?>; }
.wichtig { background-color: aquamarine; }
</style>
</head>
<body>
<!--
Answer to a question in Q&A Discussions
created by JaScript
-->
<div>
<img src="http://www.sololearn.com/images/tree.jpg" alt="image solo"/>
</div>
<div>
<br /><br />
<table border="1">
<?php
$rndnumber = rand(1, 10);
for ($i = 1; $i <= 10; $i++) {
if ($i == $rndnumber) {
echo "<tr class='wichtig'>\n";
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run