Hi Can anyone please advice me on how to add a proper page title to this page? www.hiddentrails.co.uk The current page title comes from the Home on the menu bar! Any adivce appreciated Thanks
This is your source code, you can set your title between <title> and </title> !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <base href="http://www.hiddentrails.co.uk/" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" /> <meta name="keywords" content="horse riding holidays, adventure holidays, luxury holidays, Vietnam, Jordan, Mayanmar, Africa, Botswana, South Africa, India, Tibet, Bhutan, Nepal, Peru, Argentina, Costa Rica, Nicaragua" /> <meta name="description" content="Hidden Trails - Your Partner in World Travel. Specialist holiday tour operator offering fabulous holiday destinations around the world in some of the most beautiful locations." /> <title>Home</title> <link href="/feed/rss.html" rel="alternate" type="application/rss+xml" title="RSS 2.0" /> <link href="/feed/atom.html" rel="alternate" type="application/atom+xml" title="Atom 1.0" /> <link rel="stylesheet" href="/components/com_customproperties/css/customproperties.css" type="text/css" />
I`m not sure if it`s so simple. Probabl you use a cms. If you use Joomla you can change it from Administrator Panel. If don`t tell us what you use. Maybe you need to change some php files - basicaly try to find something with <title> tag.
Add page title home.php won't be static page. it will do everything index.php does expect that'll be used only for the homepage.which give you the opportunity to edit & to have those edit appear only on the homepage.
what do you use to build your website. do you use CMS, blog, or else, such the coding of programming languages? actually you can edit index.php but be carefull.
The title page is the first page of your paper...so it is important to have a well formatted title page that clearly present to your page. <html> <title> TITLE OF PAGE</title> <body> ........ </body> </html>
Hi,,, using Title HTML tag for giving title for your website for ex. <title>..text...</title> I'm using this way....U try it...
<title>HTML TUTORIALS - WebJoogler.com </title> to read more about different patterns, visit http://www.webjoogler.com/html/Structure-HTML-document.php
Oops, not quite right. I'm wondering just how many times this needs to be repeated after my first comment. Does no one read the thread? cheers, gary
<html> <title>Title Title Title ...</title> <body> ................................... </body> </html>
I do hope you're being facetious with your umpteenth repeat of the solution, and that your lack of a head element indicates you're aware the html recommendation makes the <head> and <body> tags optional. If you knew about those being optional, why make the body element explicit? I trust you're not using an xhtml DTD, as those element tags are not optional, and the title element as a child of html is invalid. cheers, gary
Page Titles in Joomla! 1.5 If you've already worked with Joomla! 1.5, you know that page titles are handled differently than in version 1.0. In version 1.0, if you enabled dynamic page titles (see this article for an explanation), each page would have an html title of "Site Name - Page Title". For example, the HTML title of this page is "Cory Webb's How to Joomla! - How to Display Your Page Title in Your Template - Joomla! 1.5", where "Cory Webb's How To Joomla!" is the site name, and "How to Display Your Page Title in Your Template - Joomla! 1.5" is the page title. In Joomla! 1.5, dynamic page titles are used by default, and the site name is not displayed in the html title. For example, if this site were running in Joomla! 1.5, you could look up in the browser's window header and see that the html title just said "How to Display Your Page Title in Your Template - Joomla! 1.5". That makes things a bit easier in terms of getting access to the page title, but it causes another problem; your site name is not part of the html title. There is an SEF Patch that enables you to modify the HTML title, but I will show you a trick for doing this in your template. Think of this as 2 how-to's in 1. Accessing Your Page Title from Your Template There are 2 objects in Joomla! 1.5 that are extremely powerful and extremely useful for doing some advanced tricks in your template. The first object is JFactory, which is basically the gateway for accessing just about anything in the Joomla! API, and the second is JDocument, which gives you access to your document's properties. Your document is usually defined as the HTML output from Joomla!, but it could also be a PDF, XML/RSS, or raw output/text. In this case, we are only concerned with the HTML output. To access your page title, simply add the following code to the top of your template "index.php" file: <?php $mydoc =& JFactory::getDocument(); $mytitle = $mydoc->getTitle(); ?> That's it. That's all there is to it. Pretty simple, huh? Now, to display your page title within your template, you simply add the following code anywhere in your template "index.php" file that you wish to display the page title: <?php echo $mytitle; ?> That's all there is to it. Pretty easy.
Here is my tip. I checked your site. Your title is a picture and not a text. This looses on keyword priority. This is how I worked my web site HTML. It's fantastic and you can position it with Komposer.... CAPITAL LETTER IS WHAT YOU NEED TO CHANGE. <td style="height: 224px;" colspan="3" rowspan="1"> <img style="width: 1024px; height: 231px;" title="PICTURE TITLE" alt="OTHER TITLE OF PICTURE" src="PHOTO"> <div style="position: absolute; width: 700px; top: 5px; left: 25px;"> <h1 style="font-family: Verdana;"> TITLE SENTENCE </h1> </div> <div style="position: absolute; width: 700px; top: 50px; left: 25px;"> <h2 style="font-family: Verdana;"> <big><big>SECOND TITLE SENTENCE</big></big> </h2> </div> </td>