Most important part of coding validate, can not shift errors |
Most important part of coding validate, can not shift errors |
coolvibes |
Nov 17 2008, 06:20 AM
Post
#1
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
Validating important
Well it is so i checked my pages errors every were well i sorted all but <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="154" height="58" id="CoffeeCup" align="middle"> <param name="movie" value="search.swf"/> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <embed src="search.swf" quality="high" bgcolor="#ffffff" width="154" height="58" name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> i stick this on my page 12 errors The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML. So what can i do to make my flash code acceptable in basic html doc type links Old page http://www.raveskool.com/rave_site/a001.html New page http://www.raveskool.com/rave_site/a000.html I just don’t get it why you have to state a doc type only for it not to work because its not the right doc type so the validate html code program sees it as an error but is it or just strict programming rules???? Who knows sure as hell haven’t me give us a clue boys Kind regards |
pandy |
Nov 17 2008, 06:41 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
CODE So what can i do to make my flash code acceptable in basic html doc type links Remove the XHTML slashes. It has nothing to do with Strict BTW. The slashes can't be used in HTML. Either live with the Flash related errors that are left (EMBED will never validate), they won't harm anything, or if you absolutely need it to be error free you have to do what's described here: http://www.alistapart.com/articles/flashsatay QUOTE I just don’t get it why you have to state a doc type only for it not to work because its not the right doc type so the validate html code program sees it as an error but is it or just strict programming rules???? I don't understand. Why don't you use the right doctype? It's pretty pointless to use the wrong one. |
coolvibes |
Nov 17 2008, 06:49 AM
Post
#3
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
see i dont understand if i change doc type to what to clear this matter up i use
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <title></title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> </head> are you telling me i can replace this with somin the validator excepts nice one pandy you allways give it me straight kind regards |
pandy |
Nov 17 2008, 07:13 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
No, EMBED is non standard. It will never validate. But it doesn't harm anything to use it, so in my book it's OK if you don't want to take that further.
The doctype should reflect the flavour of (X)HTML you write. It looks to me as you do write HTML Transitional though, so that's fine. Except you may want to use the long version of the doctype or browsers will go into Quirks Mode. http://htmlhelp.com/tools/validator/doctype.html http://hsivonen.iki.fi/doctype/ You have probably copied the Flash code from somewhere and it's written in XHTML. That's the problem. Just remove all those slashes from the end of the tags. <... /> |
coolvibes |
Nov 17 2008, 08:08 AM
Post
#5
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
For anyone reading thread simple when you know how cheers pandy new flash code is
<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://fpdownload.macromedia.com /pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" type="application/x-shockwave-flash" width="140" height="40"> <param name="movie" value="search.swf" > <param name="quality" value="high"> <param name="scale" value="noscale"> <param name="salign" value="lt"> <param name="bgcolor" value="#ffffff"> </object><p> old code non validating is <object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="140" height="40" id="CoffeeCup" align="middle"><param name="movie" value="search.swf"> <param name="quality" value="high"> <param name="scale" value="noscale"> <param name="salign" value="lt"> <param name="bgcolor" value="#ffffff"> <embed src="search.swf" quality="high" bgcolor="#ffffff" width= "140" height="40" name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash" pluginspage= "http://www.macromedia.com/go/getflashplayer"></object> Old page http://www.raveskool.com/rave_site/a001.html New page http://www.raveskool.com/rave_site/a000.html thanks gang |
pandy |
Nov 17 2008, 08:27 AM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Looks good, but you need EMBED for other browsers than IE. Either use EMBED and live with the error or you have to do the Flash Satay thing.
|
coolvibes |
Nov 17 2008, 09:24 AM
Post
#7
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
Tryed it on
psp browser ps3 browser ipod touch browser ie explorer firefox if it dont work on the few i dont use i can live with that cheers mate well chuffed finished one error free page now have 2462 left to do but should be easy sailing now http://www.raveskool.com/rave_site/a001.html finished |
pandy |
Nov 17 2008, 09:51 AM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Definitly don't see the search box in FF, Opera and so on. Maybe you need to refresh yours? Don't know what the other browsers you mentioned are based on.
Validation isn't an end in itself. It's a tool. As I said above, use EMBED or do the Satay thing, |
Frederiek |
Nov 17 2008, 10:28 AM
Post
#9
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I se the search box (Safari/Mac) and the page validates.
One suggestion though, you use the deprecated <font...> tag. Since you already use CSS, do the font styling there. That way you seperate presentation from structure, which is the purpose of CSS. [edit: small typo] This post has been edited by Frederiek: Nov 17 2008, 10:30 AM |
coolvibes |
Nov 17 2008, 11:33 AM
Post
#10
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
Hi Fred as i learnt html myself in my tiny brain i think everything i learn is html but in fact it’s not you see the way i learn is i want to achieve a goal i Google it with html in front of my goal e.g. html text size change and after a few clicks i see examples which i copy and paste into coffee cup html editor 2008 were i look at the code changing it to suit my purposes now some code i look at like the css you mention i think is html , so
[edit: small typo] elaborate and i sort it before i do the 2000 odd pages Deprecated <font...> tag. Since you already use CSS as with this in fact 3 validation software’s did not pick any more errors up. And last but not least i only have one page with correct flash code on and that is http://www.raveskool.com/rave_site/a001.html and even after refresh is still being shown in the fox and is accessible although the search results don’t give you anything that’s down to the css data base needs updating as i never scanned site before creating but simple case of replacing the search.php blank script page with ones with script on any suggestions in the way i am doing things too long or completely wrong then point them out for now i will have a couple of hours off so peeps can look then if no response ill just get on with it Thanks for all your input guys much appreciated. Kind regards coolvibes |
coolvibes |
Nov 17 2008, 12:55 PM
Post
#11
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
OMG!!! i tryed validating some of my latest work and guess what they are xhtml lol and they validated with no problems Crazy i did hundreds of pages right in xhtml what are the chances
if the validtor has not missed somin anyone want to check http://www.raveskool.com/rave_site/adrenalin_gallery.html i amaze my self sometimes lol buzzing |
coolvibes |
Nov 17 2008, 12:56 PM
Post
#12
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
well apart from some minor things lol
|
Frederiek |
Nov 18 2008, 03:50 AM
Post
#13
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
The first phrase in the HTML reference on <font> explains why the <font> tag is deprecated and points to further reading. See the CSS reference on how to use font properties in CSS.
Your pages aren't XHTML, but HTML 4 Transitional. You see, reading around the WDG site (the HTML and CSS references and the FAQ) will help you get on the right track of learning HTML. (PS: please don't abbreviate my name, I'm not male. Thank you.) |
coolvibes |
Nov 19 2008, 12:52 PM
Post
#14
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
Thanks for the advice and must apologise for abbreviating you name although in English your name is spelt the mail way no worries point taken
Kind regards coolvibes |
coolvibes |
Nov 19 2008, 12:53 PM
Post
#15
|
Member Group: Members Posts: 61 Joined: 1-November 08 From: Coventry City England Member No.: 7,028 |
the way i spelt male was to point this fact out
kind regards |
Frederiek |
Nov 20 2008, 03:43 AM
Post
#16
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
That's ok.
I don't even know of a female equivalent of my name in English. There is in French, with accents and "que" at the end. Mine is simply pure Dutch. |
Darin McGrew |
Nov 20 2008, 12:24 PM
Post
#17
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
FWIW, the first time I saw your name, I read "Frederiek" as "Frederick". The lower-case "e" and "c" look very similar, especially in the context of a name that looks familiar.
|
Frederiek |
Nov 21 2008, 03:18 AM
Post
#18
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Yeah, I know, you're not the only one. I even got letters sometimes referring to "sir". So even in my own country (nl), my name is not very known as female.
|
Brian Chandler |
Nov 21 2008, 03:41 AM
Post
#19
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
That's ok. I don't even know of a female equivalent of my name in English. ... I didn't either, until I read this book: http://imaginatorium.org/books/babel.htm (3rd paragraph) |
Frederiek |
Nov 21 2008, 10:53 AM
Post
#20
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Thanks, Brian. Yes, I think I've heard of that one before, probably with a "k" in Dutch.
Anyway, AFAIK, it's a rarely used name, the way mine is written. |
Lo-Fi Version | Time is now: 25th April 2024 - 12:38 PM |