Title Tag..

liunx

Guest
It's not working! I've tried all I can, and the past two times that I've redone a website the title tag hasn't worked. Here's some sample code, hopefully you can point out what I'm doing wrong:<br />
<br />
<html><br />
<head><br />
<title>Blah Blah Blah</title><br />
<style type="text/css"><br />
<!--<br />
body { font-family:tahoma; <br />
font-size:9px; <br />
color:#000000;<br />
background: #000000 url("heatherback.jpg") repeat-y top right;<br />
scrollbar-track-color: #000000;<br />
scrollbar-face-color: #000000; <br />
scrollbar-shadow-color: #a0a0a0;<br />
scrollbar-highlight-color: #D6D6D6;<br />
scrollbar-darkshadow-color: #FFFFFF;<br />
scrollbar-3dlight-color: #000000;}<br />
option,input, textarea { color:#0E66AE;background:none;font-size: 9px;font-weight: none;text-decoration: none;font-family:tahoma;text-align: lest;border-width: 1pt;border-style: inset; border-color:#000000;}<br />
<br />
A:link { {color:#D6D6D6;<br />
cursor:default;<br />
text-decoration:none;}<br />
<br />
A:visited { color:#D6D6D6;<br />
cursor:default;<br />
text-decoration:none;}<br />
<br />
A:active { color:#D6D6D6;<br />
cursor:default;<br />
text-decoration:none;}<br />
<br />
A:hover { cursor:default;<br />
text-decoration: none;<br />
color:#D6D6D6;}<br />
h1 { font-family: georgia; <br />
font-size:14px; <br />
color: #000000;<br />
text-align: right;}<br />
//--><br />
</style><br />
</head><br />
<body><br />
<div style="position:absolute;top:0px;right:0px;"><br />
<img src=http://www.htmlforums.com/archive/index.php/"heather.jpg"></div><br />
<div style="position:absolute;top:485px;right:5px;width:300px;"><br />
<body dir="rtl"><br />
<div dir="ltr"><br />
<h1>Blah</h1><br />
<p align="justify"><br />
Content<br />
</div><br />
</body><br />
</html><!--content-->What do you mean it hasn't worked? It doesn't do a lot other than sit in the header of your browser or used as a fave description.<!--content-->your css is backwards too. your a. references are backwards.<br />
<br />
link<br />
hover<br />
visited<br />
active<br />
<br />
that is the way it has to be. also what did you expect the title tag to do?<!--content-->Some typos:<br />
<br />
text-align: lest should be text-align: left<br />
<br />
A:link { {color:#D6D6D6; should be a:link {color:#D6D6D6; -- too many brackets.<br />
<br />
Your anchor definitions are in the wrong order.<br />
<br />
<br />
<br />
The <title> tag contents is displayed along the top of the browser window. It is also displayed in your search engine listings.<br />
<br />
The <h1> tag is your heading at the top of the visible page of content. That might not work simply due to the above errors.<br />
<br />
Check your CSS using <!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator-uri.html">http://jigsaw.w3.org/css-validator/validator-uri.html</a><!-- m --> for more.<!--content-->you have the wrong idea of a title. look up ^ :rolleyes: , see that bar at the top of your browser. see how it says,<br />
"HTMLForums" and then some other crap. That would be your title. the text in the <title> doesnt apear anywhere on the page. :newbie:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
::13 year old::<!--content-->Originally posted by 13 year old <br />
you have the wrong idea of a title. look up ^ :rolleyes: , see that bar at the top of your browser. see how it says,<br />
"HTMLForums" and then some other crap. That would be your title. the text in the <title> doesnt apear anywhere on the page. :newbie:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
::13 year old:: Exactly what he said... it will say...<br />
<br />
HTMLForums - blah, blah, blah<br />
<br />
;)<!--content-->
 
Back
Top