Dear Moderator i think there where different kind to solve this problem.
Try this in any php – header.php,index.php,page.php,single.php
Example:
<?php
if (is_front_page())
{?>
<div>Flash Gordon</div>
<?php } else { ?>
<div>Wins the Battle!</div>
<?php } ?>