I'm trying to see how valid my code is. The validated complained with
following:
Line 12, column 32: there is no attribute "TARGET" (explain...).
<FRAME NAME="MAINMENU2" TARGET="_top" SRC="main%20menu.html"
SCROLLING="AUTO" M
However my copy of Html 4.01 specification says that the attribute exists.
What's wrong? The original code is at <http://akseli-yok.utu.fi:993>. 21 2238
Akseli Mäki wrote: I'm trying to see how valid my code is. The validated complained with following: Line 12, column 32: there is no attribute "TARGET" (explain...). <FRAME NAME="MAINMENU2" TARGET="_top" SRC="main%20menu.html" SCROLLING="AUTO" M
However my copy of Html 4.01 specification says that the attribute exists. What's wrong? The original code is at <http://akseli-yok.utu.fi:993>.
Where did you see it:
<http://www.w3.org/TR/html401/present/frames.html#h-16.2.2> ?
What you can do is place a <base/> tag in your "main menu.html" (it is
more save not to use spaces in file name, like "main-menu.html") like this:
<head>
<!-- all other head elements here -->
<base target="_top">
</head>
--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Anne van Kesteren wrote: Where did you see it: <http://www.w3.org/TR/html401/present/frames.html#h-16.2.2> ?
I was looking at the list of attributes. I didn't notice that the attribute
wasn't declared for FRAMES tag.
What you can do is place a <base/> tag in your "main menu.html" (it is more save not to use spaces in file name, like "main-menu.html") like this:
I know this tag, but it turns out the attribute has no use on the place
where I was using, it was superficial.
On Sun, 16 Nov 2003 12:05:52 +0200,
Akseli Mäki <ak*************************@nic.fi> wrote: I'm trying to see how valid my code is. The validated complained with following: Line 12, column 32: there is no attribute "TARGET" (explain...). <FRAME NAME="MAINMENU2" TARGET="_top" SRC="main%20menu.html" SCROLLING="AUTO" M
However my copy of Html 4.01 specification says that the attribute exists. What's wrong? The original code is at <http://akseli-yok.utu.fi:993>.
The "target" attribute isn't usable within a frame element, remove it.
If you've put that there to try and stop anybody else from putting your
site within a frame, that's not the way to go about it. If you've put
it there for any other reason, you've got the wrong idea.
You've tried giving each frame element a target="_top" attribute, which
would mean, if a browser paid any attention to it, that it'd be trying
to load each frame directly into a browser window (outside of a
frameset). That's not possible (both into the same spot, and both being
visible).
Additionally, blank spaces are forbidden in URIs, encoding them as %20
is a hack to try and get around a requirement. It is permitted to
include blank spaces with parameters sent *after* a URI (e.g. search
strings), though.
e.g. http://www.example.com/cgi-bin/searc...thing%20spacey
--
My "from" address is totally fake. (Hint: If I wanted e-mails from
complete strangers, I'd have put a real one, there.) Reply to usenet
postings in the same place as you read the message you're replying to.
Tim wrote: If you've put that there to try and stop anybody else from putting your site within a frame, that's not the way to go about it. If you've put it there for any other reason, you've got the wrong idea.
I put it there because I copied the frameset page from someone else who had
it done so. But it seems to have had no effect, when I removed it the pages
looked just the same.
Additionally, blank spaces are forbidden in URIs, encoding them as %20 is a hack to try and get around a requirement. It is permitted to include blank spaces with parameters sent *after* a URI (e.g. search strings), though.
Are there any browsers where my "workaround" doesn't work?
Akseli Mäki <ak*************************@nic.fi> wrote: Additionally, blank spaces are forbidden in URIs, encoding them as %20 is a hack to try and get around a requirement. It is permitted to include blank spaces with parameters sent *after* a URI (e.g. search strings), though. Are there any browsers where my "workaround" doesn't work?
It is generally best to do things right, rather than to try to find
"workarounds".
In this case, though, the comment was wrong: spaces are certainly allowed in
URIs when encoded as %20. (See RFC 2396, which is the current authoritative
specification on generic URI syntax.)
On the other hand, the mere fact that URIs may become visible to users and
may be typed in by users (even though they would need to make their way
through the obstacles that frames create) makes it a good _practical_ advice
to avoid spaces in URIs. Surely the author's convenience in working with his
files on his system is less relevant that all users' convenience with URIs.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Jukka K. Korpela wrote: On the other hand, the mere fact that URIs may become visible to users and may be typed in by users (even though they would need to make their way through the obstacles that frames create) makes it a good _practical_ advice to avoid spaces in URIs. Surely the author's convenience in working with his files on his system is less relevant that all users' convenience with URIs.
I guess it won't hurt me to convert spaces to "-". I suppose it also
applies to directory names. As for frames, I've been thinkin about turning
the site free of frames but what alternatives are there to have a similiar
layout? Examples from other website would be great. Also is there a way to
implement page http://akseli-yok.utu.fi:993/vgap/hostorder/index.html
without frames so that it's functionality won't change a bit. The page
*needs* to have a lefthand menu which is scrollable.
Jukka K. Korpela wrote: On the other hand, the mere fact that URIs may become visible to users and may be typed in by users (even though they would need to make their way through the obstacles that frames create) makes it a good _practical_ advice to avoid spaces in URIs. Surely the author's convenience in working with his files on his system is less relevant that all users' convenience with URIs.
I guess it won't hurt me to convert spaces to "-". I suppose it also
applies to directory names. As for frames, I've been thinkin about turning
the site free of frames but what alternatives are there to have a similiar
layout? Examples from other website would be great. Also is there a way to
implement page http://akseli-yok.utu.fi:993/vgap/hostorder/index.html
without frames so that it's functionality won't change a bit. The page
*needs* to have a lefthand menu which is scrollable. Also note that I'm
writing my pages with Notepad, so implementing fancy tables would be not so
easy. I want to write simple HTML only.
Akseli Mäki <ak*************************@nic.fi> wrote: I guess it won't hurt me to convert spaces to "-".
It's an improvement, but a bit risky - one day someone is going to include
the URI into a printed document, and then programs may treat the hyphen as
an allowed line break point, and readers won't know whether the hyphen is
part of the URL or not. The underline character "_" is probably safer, if
allowed in the file system of the server.
As for frames, I've been thinkin about turning the site free of frames but what alternatives are there to have a similiar layout?
Usually attempts to avoid frames lead to even worse problems, if the author
insists on preserving the _idea_ of stealing a considerable part of the
canvas width for some links that "must" be visible at any time at any cost.
But surely there are reasonable ways to implement such a layout, too; for a
sketchy example see http://www.cs.tut.fi/~jkorpela/styles/layout.html
Also is there a way to implement page http://akseli-yok.utu.fi:993/vgap/hostorder/index.html without frames so that it's functionality won't change a bit.
It's the "functionality" that is the problem here.
The page *needs* to have a lefthand menu which is scrollable.
Then it *needs* to be something else than an HTML page designed for the
World Wide Web. To begin with, "left" and "right" exist in visual
presentation only.
Also note that I'm writing my pages with Notepad, so implementing fancy tables would be not so easy. I want to write simple HTML only.
Then by all means write simple HTML. Write a page that contains a list of
links. Make each link refer to a separate page, or part of a page, and make
sure all those subpages contain a link to the index (the list). Problem
solved.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Jukka K. Korpela wrote: The underline character "_" is probably safer, if allowed in the file system of the server.
OK then. Might there be any problems in using underline?
Usually attempts to avoid frames lead to even worse problems, if the author insists on preserving the _idea_ of stealing a considerable part of the canvas width for some links that "must" be visible at any time at any cost.
They probably don't need to be visible all the time, I think putting the
links on the main page will suffice. Something like
<http://akseli-yok.utu.fi:993/foo.html>. How does that look? What do you
think about the layout of these pages
<http://www.inf.tu-dresden.de/~sr21/vgapage.html>. I think that is the kind
of layout I'd use. Then on the subpages I would first include all the links
inside the page on top, and after each paragraph I would have a link to the
top of the page, like <http://akseli-yok.utu.fi:993/bar.html>.
Btw, on a page named bar.html, is <A HREF="bar.html#preface">Top</A> same
thing as <A HREF="#preface">Top</A>. I recall the later was valid HTML, but
can't remember for sure.
But surely there are reasonable ways to implement such a layout, too; for a sketchy example see http://www.cs.tut.fi/~jkorpela/styles/layout.html
I dislike CSS. I'm not going to learn that just because W3 came up with
that fancy idea. Also is there a way to implement page http://akseli-yok.utu.fi:993/vgap/hostorder/index.html without frames so that it's functionality won't change a bit. It's the "functionality" that is the problem here.
Why is that a problem?
Then it *needs* to be something else than an HTML page designed for the World Wide Web. To begin with, "left" and "right" exist in visual presentation only.
Is that the best argument you could come up with? I don't care if it's left
or right. The page will always have a visual presentation. The page doesn't
have to render to speech browser. The page would be less useful if it
didn't contain the menu. The page easier to use when the menu is visible
all the time. The order of the links in the menu is very important.
Then by all means write simple HTML. Write a page that contains a list of links. Make each link refer to a separate page, or part of a page, and make sure all those subpages contain a link to the index (the list). Problem solved.
That would be less useful to the reader. The information should be easy to
browse, with that kind of system the reader would have to visit the link
page all the time. I could make the no-frames version like that, but I
doubt many people would use it. No one has ever asked better pages for
browsers that don't support frames. I've tested the pages with Lynx and
worked fine there.
Quoth the raven named Akseli Mäki: Jukka K. Korpela wrote:
The underline character "_" is probably safer, if allowed in the file system of the server.
OK then. Might there be any problems in using underline?
Why not simply remove the spaces altogether? The filename
"mainmenu.html" is quite easily understood, both by the server and the
human eye.
I'd recommend always using lowercase as well.
--
-bts
-This space intentionally left blank.
Akseli Mäki wrote: The page will always have a visual presentation.
The bit about the typing pigeons was just a joke, you know.
The page doesn't have to render to speech browser.
Maybe for you it doesn't. How can you say that authoritatively about
those who may visit it?
--
Joel.
Akseli Mäki <ak*************************@nic.fi> wrote: Then it *needs* to be something else than an HTML page designed for the World Wide Web. To begin with, "left" and "right" exist in visual presentation only. Is that the best argument you could come up with?
It wasn't an argument, just a statement of fact.
You have the liberty of ignoring the facts, or anything you like. But since
you expressly say that you are not interested in authoring for the WWW, it
is best to refrain from commenting on your messages here any more.
No one has ever asked better pages for browsers that don't support frames.
I think I know why nobody ever asked you that.
Please keep using your forged From field until you have a clue.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Joel Shepherd wrote: The bit about the typing pigeons was just a joke, you know.
Huh? What part? The page doesn't have to render to speech browser. Maybe for you it doesn't. How can you say that authoritatively about those who may visit it?
Well, it's my site:) Granted, there might be one person in whole world who
might try to access it with a speech browser. I don't try to make a site
that won't render with such, but I probably won't invent much time to make
it work, either.
Beauregard T. Shagnasty wrote: I'd recommend always using lowercase as well.
I have do so, except the images are as they are.
Jukka K. Korpela wrote: I think I know why nobody ever asked you that.
And why is that? The site was accessable with any browser before, with or
without frames.
Please keep using your forged From field until you have a clue.
Not this again! It's perfectly valid and working address. Just try.
Akseli Mäki <ak*************************@nic.fi> wrote: I could make the no-frames version like that, but I doubt many people would use it.
<http://www.google.com/search?q=This-page-uses-frames>
No one has ever asked better pages for browsers that don't support frames.
<http://googlesite.google.com/search?q=Your-page-uses-frames&output=googleabout&site=googlesite>
Andreas Prilop wrote: I could make the no-frames version like that, but I doubt many people would use it. <http://www.google.com/search?q=This-page-uses-frames>
Actually, one of the reasons I started redesigning my pages was in fact
that Google didn't support them very well.
Now the main page doesn't contain frames anymore. I replaced spaces with
underlines on the file names. I tried one way, making a table which nicely
made the picture render left and text on the right, but it didn't look good
when the window wasn't full screen so I took it off.
Akseli Mäki wrote: The page doesn't have to render to speech browser. Well, it's my site:)
I see. And who else are you willing to discriminate against?
Granted, there might be one person in whole world who might try to access it with a speech browser. I don't try to make a site that won't render with such, but I probably won't invent much time to make it work, either.
HTML 4.01 strict works with all browsers.
--
Brian
follow the directions in my address to email me
Brian wrote: Granted, there might be one person in whole world who might try to access it with a speech browser. I don't try to make a site that won't render with such, but I probably won't invent much time to make it work, either. HTML 4.01 strict works with all browsers.
In my experience it's rather difficult to write pages so that it is perfect
HTML, I might try to aim at such, but so far failed. Maybe I'll try to make
them valid strict HTML, but that one page will continue to have frames.
Akseli Mäki wrote: Joel Shepherd wrote: Akseli Mäki wrote:
The page will always have a visual presentation.
The bit about the typing pigeons was just a joke, you know.
Huh? What part?
The part about pigeons ... erm, search engines ... giving a flying
you-know-what about visual presentation. The page doesn't have to render to speech browser.
Maybe for you it doesn't. How can you say that authoritatively about those who may visit it?
Well, it's my site:)
If it's any good, it won't be for long.
--
Joel.
In article <Xn*****************************@193.229.0.31>,
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote: Akseli Mäki <ak*************************@nic.fi> wrote:
I guess it won't hurt me to convert spaces to "-".
It's an improvement, but a bit risky - one day someone is going to include the URI into a printed document, and then programs may treat the hyphen as an allowed line break point, and readers won't know whether the hyphen is part of the URL or not. The underline character "_" is probably safer, if allowed in the file system of the server.
However, some people consider '-' easier to type than '_' and easier for
novices to find on the keyboard.
(See the third item in the list of "other common problems" at http://mpt.phrasewise.com/2003/07/26#a534 )
--
Henri Sivonen hs******@iki.fi http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Toni Mcintyre |
last post by:
i'm having 2 problems with the http://validator.w3.org
1. if i have:
<meta http-equiv="Content-Script-Type" content="text/javascript">
then why do i need <script type=text/javascript>...
|
by: Claire Lescarret |
last post by:
Hello,
I have devoted my time to write valid html 4.01 strict, and CSS-1 and 2
*but* I also have to use third party's code for webcounter (StatCounter) and
Google's SiteSearch, which are...
|
by: vikaskuk |
last post by:
hi all,
i am using tabstrip with multipage control in asp.net.
i have put some textboxes on the first tab.
my requirement is that whenever user makes some changes in any of
textbox and moves...
|
by: Ciccio |
last post by:
Hi,
I'd like to get some advices about this error "500 EOF when chunk header
expected" that is displayed when validating some pages with W3C validator.
Thanks in advance
Bye
|
by: Joe |
last post by:
Hi
For a while now I have been finding postings of problems with the
validating event not firing on controls properly. I too had this
problem. The event would fire when clicking on another...
|
by: Gary Shell |
last post by:
I am experiencing some strange behavior between a UserControl's validating event and a treeview control. Initially, I thought it was related to an issue in the Knowledgebase article 810852...
|
by: Eric Lindsay |
last post by:
How are people are validating multiple web pages?
I thought most of my pages were valid so as a first try I used
curl -F uploaded_file=@index.htm\;type=text/html
http://validator.w3.org/check...
|
by: robert maas, see http://tinyurl.com/uh3t |
last post by:
I'm working on examples of programming in several languages, all
(except PHP) running under CGI so that I can show both the source
files and the actually running of the examples online. The first...
|
by: chadwick |
last post by:
Hi everyone -
I have a form that contains a TabControl object with 2 tab pages,
TabPage1 and TabPage2. TabPage1 contains two text boxes and a cancel
button, which closes the form.
I would like...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |