Originally posted by Charles
The handler "onclick" itself is defined in the HTML spec. but you use it to assign some script to the handler. To use it you need to put something like the following in your document's HEAD element to specify whata kind of script you will be using:
The EM element denotes emphasis, the STRONG element denotes strong emphasis and the P element denotes a paragraph. See http://www.w3.org/TR/html401/index/elements.html .
PHPNovice, my apologies for not replying directly to you; I was going to ask which 10 to 12% you were referring to, but I think Charles's post indicates which, in a way I understand. (Wow; beginnning to understand some things!)
So, Charles, you're talking design considerations for accessibility here. I've had old machines that wouldn't do much, and really struggled with them (my current machine was given to me by a person I call Angel Donor; it's not fancy, but it's better than just adequate - and came brand new, from my own chosen wonderful dealer!).
Thanks for the explanation of "em"; that helps.
Isn't [font] a deprecated tag? Or does that not apply in this situation? I'm in the process of changing my pages from HTML 4.01 Transitional to Strict. (Maybe I'm just completely out of context here; that could be.)
I thought a lot about the implications of forcing a browser to open a new window. On a machine low on system resources, that could get nasty.
Is there a way I could give a visitor an easy choice? Maybe not, but I have a feeling there would be. I visited a site referred to on one of these forums earlier today:
and was very impressed at the design for accessibility, the choices given to the visitor. His home page is at:
I'm going to go visit again. I tried changing the text size by clicking on the - what are they? whatever allows you to change the size. Very neatly done.
I'd like to allow my visitors that kind of choice, for anything that could affect the visitor's comfort and use of the machine.
That is, when I provide links to other sites.
But I also provide links to these forums and a couple of other resources, and also, links to sites of the very best (in my opinion) dog-trainers. When a visitor clicks on one of those, I'd like the visitor to be able to return easily to my own site, and that was the purpose of opening a new browser window. But maybe I'm wanting too much - that is, at too great a cost.
One of the sites I link to has offered to link to mine. The featured trainer at the other would be delighted, I'm sure, to link to my site, but the webmaster there is in a very different commercial set-up, not necessarily connected to the Star Trainer, as I could call her. Star Trainer, then, has little to say about what happens on the site where she provides crucial information, in articles and answering questions. So a person going there might lose contact with my site, OnClicking (just to make a bad pun) on the link I provide.
My current feeling is that I should just allow that loss, partly because of the implications of opening a new browser window if the vistitor is a novice surfer, or for whatever other reason.
Any comments? Charles? PHPNovice? Anybody else? I'm quite new at surfing myself, because my previous Windows machine, though it wasn't too bad, crashed a lot, even though I studied carefully, and learned how to maintain it as well as one could maintain a 1999 Win98SE machine. (My current machine is, I think of design around 2002 or 2003, running XP SP2. I only have 256 MB of RAM, and with that, manage to do all my own graphics (Paint Shop Pro 8) - and I take my own photos mostly, again, with a very simple ("cheapie") digital camera that Angel Donor gave me. (For a photography buff like me, I find it somewhat limiting, but there are still things you can do even with such simple and obsolete equipment.)
I guess my point is, making do for myself, but also for my visitors.
Also, Charles, amny thanks for the link to the elements information; I'll go there and study.
All comments welcome. Civil, or course <g>.