HTML - Multiple Http-equiv Meta Elements In The Same Index.htm File
Could you have multiple http-equiv meta elements in one index.htm file, such as:
Code: HTML Code: See what I am trying to do here is keep the charset the same, but also have search engines expire the current cache for this site as I have made many changes to my website. It is currently still under construction and I was wondering if this is the best way to "re-cache" the new content. Specifically, the title, description and keywords meta elements. Any assistance with this would be greatly appreciated. Similar TutorialsI have been using this: <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> But recently I saw this: <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> What am I supposed to use??? Hello everyone I am trying to find a solution to a problem I encountered when trying to use the META HTTP-EQUIV tag I created two html files to show what the behavior is doing listed below. the problem I am seeing is when a user presses F5 or Ctrl-F5 possibly even Shift-F5 to manually reload the pages...the meta http-equiv redirect no longer works for IE 6 or IE 7. Is there a solution to this for IE6 and IE7 ? Thank you for any assistance you can provide to this issue. RobertMcol the first is the index.html Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <META HTTP-EQUIV="Refresh" CONTENT="20; URL=timeout.html"> <title>reload page after 20 seconds</title> </head> <body> <p>Open browsers IE and Firefox to this page</p> <p>After 20 seconds the timeout.html page will load</p> <h3>PROBLEM</h3> <p>Open browsers IE and Firefox to this page</p> <p>press the F5 key on both browsers before 20 seconds is up</p> <p>The Firefox browser will redirect to the timeout.html page as expected after 20 seconds</p> <p>The IE browser just sits there..... why ?</p> <p>is there a solution to this issue with IE ? </p> </body> </html> The timeout.html page Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>META HTTP EQUIV TESTS</title> </head> <body> <h2>PAGE TIMED OUT</h2> <p>This page loaded because the META HTTP-EQUIV="Refresh" Content="20; URL=timeout.html" tag worked properly</p> <p>pressing the browsers back button reloads the index.html page and META HTTP-EQUIV appears to work as expected</p> </body> </html> Just out of curiosity, if a server returns a page with code 3xx and a "Location: url_1" header, but also includes a <meta http-equiv="refresh" content="0;url=url_2"/> tag, then would the browser be expected to redirect to url_1 or url_2? http://www.colletts.co.uk/winter_dolomites.htm I have the above page that redirects users to my Winter Website - the HTML below isn't valid W3C does anyone know of a better and valid way to get this done? Cheers, Mas HTML Code: <META HTTP-EQUIV="Refresh" CONTENT="2.5;URL=http://www.colletts.co.uk/winter/winter_dolomites.html" /> Hi, I'm using this code at some website to navigate automatically to another specific website, it works fine, but in Internet Explorer 9, it doesn't... why? Any idea? Try this page if you want: http://www.domisign.com Fire fox will navigate you to another page (which i'm ok with that) but IE 9 doesn't. This is the code i'm using. <meta http-equiv="refresh" content="1; URL=http://www.krayem-group.com/domino/index.htm"> I have an XML document yourboyvic.com/albumart/now_playing.xml in this XML doc there is an element <time> the objective use this <time> element in http meta refresh code <meta http-equiv="refresh" content="30"> so that <time>+1 injected into content so that instead of content="30" content="whatever number is <time>+1 on yourboyvic.com/albumart/now_playing.xml" in short, a code substitution the end goal, instead of my page refreshing every thirty seconds, my page refresh countdown will be equivalent to when the current song ends plus one second so that the albumart showing is always the current song playing preferably in php+html kinda like this… <?php> $file = file_get_contents("albumart/now_playing.xml"); $time = ""; preg_match("/<time><!\[CDATA\[([^\]]+)\]\]><\/time>/sim", $file, $time_matches); if (isset($time_matches[1])) { $title = $time_matches[1]; } <html> <meta http-equiv="refresh" content="" . $time . ""> </html> ?> Sorry I didnt know what section to put this in, or if this is even the right webpage considering all I seen was html, xhtml and CSS (Ithink) but I'm looking to recreate http://freenew.net/index.html if I need to and was wondering if there was ANYWAY to find an already made one, or maybe if I could put this together using source code found online (I suck at programming). Ideas? Thanks so much If you want to download a variable length text file, what would be the correct http headers to use? if you go to my website, http://www.freewebs.com/rollingdice/index.htm, you'll see that there is a single rss feed from googles Sci/Tech section. I also have an rss feed from HackADay.com but for some reason i can't get it to display correctly when i try to position it. I've tried everything from making a div around the javascript element to giving it an id and setting positioning in a css file. If i dont have the id or div around it the hackaday rss would just display under the google rss in a very slopy way. Can anyone help me out? Hello all. I am currently putting together a flash intro for a friend of mine. He operates a World of Warcraft guild website through DKPSystem.com. While DKPsystem.com does normally use a subdomain for the registered guild, you can implement your own domain through the backend. He has done this. So, here is my problem. What I want to do is create the flash intro and connect it up with a index.html file. Considering that DKPsystem.com uses a structure in which the user cannot upload files via FTP, I have no idea how to implement this flash intro. Any ideas how this would be done? Thanks in advance for all of your help. Hi all I have a download page on my site, but whilst my site is currently undergoing a facelift, I want to place all my downloads onto an index page that will simply show a list of all the downloadable files within a certain folder I've seen it on a few sites before. It is just a simple list of all the files....click on one and it will download Does anybody have any ideas on how I do this please? Hello all, I am new to html. I am learning but doing a web site For a non-profit organization. I have completed the web pages, but when I uploaded them to The web site and then go to that web site, I get Index of / With a list of the files, including the index.html file. This is very strange as the old Index.html is recognized. I have googled and found nothing. Below is the old html file which does work and the The web site: http://www.shareselfhelp.org/ Thanks in Advance, Laurence -------------------------------------------------------------------------------- Old index.html that does work. <HTML> <!-- #BeginTemplate "/Templates/SHARE.dwt" --> <HEAD> <!-- #BeginEditable "doctitle" --> <TITLE>SHARE! Self-Help Recovery and Exchange</TITLE> <!-- #EndEditable --> </HEAD> <BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="imgs/bg.gif" link="#330033" vlink="#330033" alink="#330033"> <TABLE WIDTH=633 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR valign="top" align="left"> <TD ROWSPAN=2> <IMG SRC="imgs/SHARE_01.gif" WIDTH=149 HEIGHT=139></TD> <TD ROWSPAN=2> <IMG SRC="imgs/SHARE_02.gif" WIDTH=79 HEIGHT=139></TD> <TD> <IMG SRC="imgs/SHARE_03.gif" WIDTH=193 HEIGHT=103></TD> <TD> <IMG SRC="imgs/SHARE_04.gif" WIDTH=212 HEIGHT=103></TD> </TR> <TR> <TD COLSPAN=2 valign="top" align="left"> <div align="right"><!-- #BeginEditable "header" --><font face="ARIAL" size="5" color="Green"><strong><font color="#FF6600" size="4">Welcome SHARE! Online</font></strong></font><!-- #EndEditable --></div> </TD> </TR> </TABLE> <table width="633-15" border="0" cellspacing="20" cellpadding="0"> <tr valign="top" align="left"> <td width="65" height="2"><img src="imgs/leftcolumn.gif" width=120 height=1></td> <td width="530" height="2"><img src="imgs/SHARE_03.gif" width=475 height=1></td> </tr> <tr valign="top" align="left"> <td width="65"><font size="2"><b><font face="Arial, Helvetica, sans-serif"><a href="index.htm"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Home</font></a> </font> </b> </font> <p> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="findinga.htm">Finding a Support Group</a> </b></font> <p> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="whatis.htm">What is a Self-Help Support Group</a> </b></font> <p> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="aboutShare.htm">About SHARE!</a> </b></font> <p> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="stories.htm">Stories</a> </b></font> <p> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="theneed.htm">The Need</a> </b></font> </td> <td width="530"><!-- #BeginEditable "content" --> <p><strong><font face="Arial, Helvetica, sans-serif" size="2">The mission of SHARE!, the Self-Help And Recovery Exchange, is to help people in Los Angeles pursue personal growth and change. SHARE! Empowers people to change their own lives and provides them a loving, safe, non-judgmental place where they can find community, information and support. <br> <br> SHARE! Provides many services including: </font></strong> </p> <ul> <li> <font face="Arial, Helvetica, sans-serif" size="2" color="#FF3333"> <strong>A Center for self-help meetings and events:</strong></font><font face="Arial, Helvetica, sans-serif" size="2"><strong> <br> <font color="Black"> We have five meeting rooms with almost fifty meetings a week which <br> take place at SHARE! (Our center) in West Los Angeles. <br> Meetings pay a percentage of their donations so that there is no rent <br> pressure and it is easy to start a new meeting. Each meeting room is <br> furnished like a living room with sofas, chairs and coffee tables, except <br> our writing room, which has a conference table, and chairs. We provide <br> space for sober dances, self-help marathon meetings and conferences. <br> We also have leads on meeting space in other parts of the county. </font> </strong></font></li> <font face="Arial, Helvetica, sans-serif" size="2"><strong><br> <br> </strong> </font> <li> <font face="Arial, Helvetica, sans-serif" size="2"><strong><font color="Maroon"> <font color="#FF3333">Countywide referrals,</font></font> <br> <font color="Black"> to more than 7000 self-help meetings representing 400 different programs. <br> Our information is updated monthly as self-help groups <br> tend to be moved around or come and go. <br> We have 24-hour voicemail, which gives information on our 100 most <br> requested referrals. In addition, trained volunteer referral specialists <br> can find a meeting in your neighborhood that is right for you from 10 am <br> to 4 PM. Call (310) 305-8878. </font> </strong></font></li> <font face="Arial, Helvetica, sans-serif" size="2"><strong><br> <font color="#FF3333"><br> </font></strong> </font> <li> <font face="Arial, Helvetica, sans-serif" size="2" color="#FF3333"><strong> Technical assistance for new and ongoing meetings, </strong></font><font face="Arial, Helvetica, sans-serif" size="2"><strong><br> <font color="Black">We can help with formation, meeting content, format, publicity, problems, etc. </font> </strong></font></li> <font face="Arial, Helvetica, sans-serif" size="2"><strong><br> <font color="#FF3333"><br> </font></strong> </font> <li> <font face="Arial, Helvetica, sans-serif" size="2" color="#FF3333"><strong>Volunteer opportunities, </strong></font><font face="Arial, Helvetica, sans-serif" size="2"><strong><br> <font color="Black"> For ordinary people or for those doing court-ordered community service. <br> We accept all volunteers even those with limited skills or felony <br> convictions provided they are attending or willing to attend support groups. </font> </strong></font></li> <font face="Arial, Helvetica, sans-serif" size="2"><strong><br> <br> </strong> </font> <li> <font face="Arial, Helvetica, sans-serif" size="2"><strong><font color="Maroon"> <font color="#FF3333">Open literature policy, </font></font> <br> We accept any and all materials for distribution at our center. <br> Just send them or drop them off. </strong></font></li> </ul> <p><font color="#FF3333" face="Arial, Helvetica, sans-serif" size="2"><i><b><font color="#FF3434">We are privately funded through donations. SHARE! Is a project of the Emotional Health Association, a California non-profit 501(c)3 corporation. </font></b></i></font></p> <!-- #EndEditable --></td> </tr> </table> <p> </p> </BODY> <!-- #EndTemplate --> </HTML> Dear members! Im currently a learner in cSS with HTML, and i'm having a hard time understanding some simple rules and aligment options. I currently have theese two files set up; Index.html (LINK) style1.css (LINK) And what i'm having a hard time to get right is to include the different #elements from the CSS file, (So that they will be shown in the HTML documents, could someone please tell me how that is done properly?) Also, i followed THIS GUIDE to try to understand how to center-align my website, but it doesent seem to be right, as the box is not centered, at the same time as if i try to edit the values (how many pixels the box should be, nothing happens) Could someone please tell me the proper way to center-align a webpage or correct the documents so it center-aligns, as well as tell me how to construct elements / boxes in CSS so that i could start to make a basic site-design in CSS and how to code this in the HTML file so that the elements that i've constructed in the CSS file will be shown on the HTML page properly? If you guys have some good guides to start me off, that would be great to.. thanks! Thank you, sorry if this is allready answered. - InZeL Ok still super new at this HTML thing, but I am going to be using Filezilla to access my friends index.html file for a little eding of the text. My question is can I open the file, edit what I need and save it all within filezilla? Or do I need to drag the index.html file to my desktop, edit, save and the drag it back to filezilla? Hello, I am currently working on a small library of school videos utilizing the DivX codec (which, by the way is quite something). Each video is centered on it's own page using a table. Rather than creating 25 different HTML documents, I would like to have one that can switch between tables on a click. If you are unsure of what I am suggesting, I found that Apple has implemented just what I want... http://www.apple.com/iphone/ipod/ ... if you click the music tab, it loads a .mov; likewise with the video tab. (without loading an entirely new page) I would like to do this very thing with my table. Can anyone suggest how I can do this? I would appreciate any advice. Thank you, JRosselet How do I make element's change their height automatically depending on whether they have anything contained within them? My page background is a div's bg image but the div hasn't expanded to the size of the contained elements. The div's name is nicola-bg Here is the site I have the same problem too with #image-section. That div is styled to have large borders but the borders don't extend to the height of the div's containing elements. I finally figured out how to add text to my index and now I have another question. In my website template There is Heading 1 and a Heading 2 so my question is how do I delete any sections or headings that I don't need to make it go away on my home page. There is so much and I don't think I need all of it..... Thanks in advance Iv just created a website using CoffeeCup HTML Editer, but this is the first website which i have created using a HTML Editer instead of a sitebuilder provided by the hosting. In the sitebuilder i used for my old site, it provided what was called"SEO Wizard" which wrote the meta tags in the head for me. Now im using this HTML Editer, i have to write it myself.. On the template i used to start off, it provided the following as a start for me to enter the rest. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="Description" content="Your Title"> <meta name="author" content="CoffeeCup Software, Inc."> <meta name="Copyright" content="Copyright (c) 2010 CoffeeCup, all rights reserved."> <title>Your Title</title> <style... I can see myself that i need to add some sort of meta tag for my "Keywords". Im also not sure if there is any other codes i need to add, or removed if needed. Could someone help me please? Thanks! Note: Im not asking someone to add my keywords for me, etc.. lol. Im just looking for help on how to write it & then i can fill in the "Specific Stuff" for my site. Hi, I have a website which is in greek. I was making an application to appear in this website but I have a problem with the characters, they appear like ? I had this problem before but was solved by adding a meta in the head part <meta http-equiv="content-type" content="text/html; charset=utf-8" /> the files are in utf-8 format and this meta exists in my head part but they still appear like "?" I would appreciate it if someone could advice me what to check. I can also provide a link, but I will send it by personal message to the interested. Thanks in advance, Dinos |