Many thanks Stephan ! Will use your recommandation as soon as tomorrow morning ;-)
Kind regards, Pierre Le 9 nov. 2011 à 21:50, stephen barncard a écrit : > I've been constructing new pages as HTML5 for over a year. One item to > note is that the rules are different than html 4.x and things that were > allowed before with ( loose ) will not validate. Constructing a web page > with old habits could lead to 10-30 errors when attempting to validate as > HTML5 , even though it might look fine in one's own browser. > > My iRev/ lc HTML5 pages always ended up with too many errors and only > recently have I figured out what was wrong. It's about the headers. I've > learned a lot about creating quality, verifiable HTML5 code using the w3C > validator <http://validator.w3.org/> > > To share with those trying to make validated HTML5 pages using Livecode > server: <http://www.jazzcubed.com/> > > *[ do this before any other HTML is sent: (this will make Apache talk > UTF-8 ) ]* > > <?lc > > put new header "Content-type: text/html; charset=utf-8" > > ?> > > *[ this html startup and header code validates for me ]* > > * <!DOCTYPE html>* > * <html>* > * <head>* > * <meta charset="UTF-8">* > * <title>Jazzcubed Records</title>* > * <link rel="icon" type="image/png" href="favicon.ico" />* > * </head>* > * <body>* > *[content]* > * </body>* > * </html>* > > > > so simple and clean, universal now. I like the standard. > > sqb > > > > On 9 November 2011 10:40, Richard Gaskin <ambassa...@fourthworld.com> wrote: > >> >> Nice. Very nice. >> >> Another platform distinction gone, further commoditizing OSes, which is >> always helpful for us cross-platform devs. >> >> -- >> Richard Gaskin >> > > Stephen Barncard > San Francisco Ca. USA > > more about sqb <http://www.google.com/profiles/sbarncar> > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode