<?php tidy_parse_file('test.html'); $body = tidy_get_body(); echo "We retrieved the '{$body->name}' tag.."; ?>