A little tiny script help? |
A little tiny script help? |
![]()
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 164 Joined: May 2008 Member No: 647,219 ![]() |
Well, I was looking through createblog scripts, and there was this cute little one that I liked.
http://www.createblog.com/javascripts/887-...ion-w-keywords/ I use header and footer for my site, Now, The guy says to paste in your index section only, but there is only one code in the index section and that is the header class CODE <div class="mainheader">Like so</div> So, idk if I put it in index or no? |
|
|
![]() |
![]()
Post
#2
|
|
![]() Offline. ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 609 Joined: Mar 2007 Member No: 507,591 ![]() |
You can create a page called index.html and placed the code provided by divergent in it.
What script says to place the code into an the head tag it means; in valid html pages there are different parts such as the head and body. CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title> Website - Title </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <p> Content to be displayed in the browser window. </body> </html> the red section is the head section. and that where you place the code form the script. CODE <head>
<title> Website - Title </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META name="Description" content="SITE DESCRIPTION"> <META name="keywords" content="keywords,go,here,separate,by,commas"> </head> |
|
|
![]() ![]() |