Is there a way in PHP to make a tag that has body content?

The sample document would look like this:
PHP Code:
<head include>

 
Page specific stuff here (titlescriptet c)

</
head include>

 

<
body include>

  
Page specific stuff here.

</
body include> 

 

Then we have head-include.php:

 

<
doctype…>

<
head>

$tag_body_content

<link ..>

<
script...>

</
head