Solved

meta and dtd question...

Posted on 1998-03-04
4
235 Views
Last Modified: 2013-12-25
Hello, i would like to learn more on the meta tag. I know that some people do not like it but as i have
found on some website, some seem to be used often but others are very complicated... I have managed to
do this... what do you think.. is that all legal?

<META HTTP-EQUIV= "Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME= "Author" CONTENT="Nicolas Jacques">
<META NAME= "contact_addr" CONTENT="njacques@sie.qc.ca">
<META NAME= "Copyright" CONTENT="© Créations Web-Bit">
<META NAME= "GENERATOR" CONTENT="RogSoft Notepad+>
<META NAME= "keywords" CONTENT="word1,word2,word3,word4,word5">
<META NAME= "description" CONTENT="this is the description">

I would like to add the website starting page in the meta (if it is possible) what would be the NAME to do that?
would you add something to make it complete?

Is there anything that would be important that i missed?

I would also like to know more on DTD, i know i code in html 3+ but there is so many dtd variation, i
do not know what to write... Does a browser really need a dtd?

thanks...
0
Comment
Question by:njacques
  • 2
4 Comments
 
LVL 2

Expert Comment

by:yyyannag
ID: 1857843
I didn't understand what your asking "put the starting page in the meta". what do you mean by that ?

as for anything important you missed, there is the "refresh" parameter, which allows you to load another page after certain amoount of time :

<meta http-equiv="refresh" content="time_in_seconds;url=URL">


0
 
LVL 2

Accepted Solution

by:
EbenBrooks earned 50 total points
ID: 1857844
This is half an answer, so feel free to reject if you feel it's not adequate.

The starting page isn't defined in the <META> tag, but in the <BASE HREF=****> tag. For instance.

<BASE HREF=http://www.experts-exchange.com>

Now--what the heck is DTD? (I'm not very good with acronyms.)

--Eben
0
 

Author Comment

by:njacques
ID: 1857845
I do not want to work with base href since i work on my pages offline...

what i wanted to say by "put the starting page in the meta" is that if someone saved my file somewhere, he can find the online version at this adress. right now im using a comment that looks like this...

<!-- website starts at http://www.website.com -->
meta
meta
meta
</head>   ect.....

is this ok....

I know that DTD is Document Type Definition, but i dont know why it is needed i never put it and all works well, should i add it... why and how...

thanks...
0
 
LVL 2

Expert Comment

by:yyyannag
ID: 1857846
you can use my comment above to do this. you can program the HTGML Script that way, so when the user loads your page, doesn't matter in what state (offline or online), it will load the page from the original site.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question