This shows you the differences between two versions of the page.
— |
kurs:php9.4 [2014/09/10 21:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== HTML Kopf und Fuss ====== | ||
+ | <code php> | ||
+ | <?php | ||
+ | function HTML_Kopf($titel){ | ||
+ | print("<html> | ||
+ | <head> | ||
+ | <title>$titel</title> | ||
+ | </head> | ||
+ | <body>"); | ||
+ | } | ||
+ | function HTML_Fuss(){ | ||
+ | print("</body> | ||
+ | </html>"); | ||
+ | } | ||
+ | HTML_Kopf('Testseite'); | ||
+ | print("Bodytext"); | ||
+ | HTML_Fuss(); | ||
+ | ?> | ||
+ | </code> |