Jump to content


Photo

Page Title


  • Please log in to reply
4 replies to this topic

#1 MollyBaloney

MollyBaloney
  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 07 April 2006 - 06:03 PM

I'm pretty new at php. I have my website up and running...I just don't have the name of it at the top of the page like it's supposed to be. Can someone help me?

Molly

#2 majocmatt

majocmatt
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts

Posted 07 April 2006 - 06:08 PM

This isn't really a PHP problem if I understand correctly, just make sure you have the <title> tag in the HEAD

example:

<html>
<head>
<title>This is where your title goes</title>
</head>
<body>

....

</body>
</html>

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 07 April 2006 - 06:36 PM

Yeah to give your page a title make sure you place what you want your page title be inside the <title> and </title> tags.

This isn't to do with PHP but more towards HTML.

#4 MollyBaloney

MollyBaloney
  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 07 April 2006 - 07:42 PM

Sorry about that...Just shows how brain dead I am where it concerns php and html. Thanks for your help..I will try it although I'm not sure where to put it in the script to begin with.

Molly

#5 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 08 April 2006 - 12:34 PM

Have you learn't HTML? As if you did you should know where to put it as its the first thing you learn about HTML!

If you look below. That is what a basic webpage should be coded like.
<html>
<head>
  <title>Your Page Title Here</title>
</head>
<body>
  Your webpage content goes here
</body>
</html>





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users