Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

meta and dtd question...

Posted on 1998-03-04
4
237 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

809 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