Friday 19 July 2013

Trying Out a Little PHP

 

 

3. Type <title>This is a Simple PHP Page</title> and then press Enter.

The <title> HTML tag tells the browser to display the text between two tags as the title of the document in the browser title bar. (Note: All HTML tags need to be opened and then closed, just like PHP tags that we describe in the preceding section. In this case the <title> tag opens the command, and the </title> tag closes it and tells the Web browser that you’re finished dealing with the title).

4. Type </head> to close the <head> tag from Step 2 and then press
Enter.

5. Type <body> to define the body of the Web page and then press Enter.

Anything that appears after this tag displays in the Web browser
window.

0 comments:

Post a Comment