User Tools

Site Tools


kurs:php9.5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kurs:php9.5 [2014/09/10 21:22] (current)
Line 1: Line 1:
 +====== HTML Kopf und Fuss ====== 
 +mit optionalen Parametern\\ 
 +<code php> 
 +function HTML_Kopf($titel='​Titel',​ $farbe='​ffffff'​){ 
 + print("<​html><​head>​ 
 + <​title>​$titel</​title>​ 
 + </​head>​ 
 + <body bgcolor='#​$farbe'>"​);​ 
 +
 +function HTML_Fuss(){ 
 + print("</​body>​ 
 + </​html>"​);​ 
 +
 +HTML_Kopf('​Testseite','​ccFFcc'​);​ 
 +print("​Bodytext"​);​ 
 +HTML_Fuss();​ 
 +?> 
 +</​code>​
kurs/php9.5.txt · Last modified: 2014/09/10 21:22 (external edit)