- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Sun, 06 Jan 2013 12:46:57 +0100
- To: Cristiano Guglielmetti <cguglielmetti@alice.it>
- Cc: HiddenId <courriel_achevrier@yahoo.fr>, "www-amaya@w3.org" <www-amaya@w3.org>
Cristiano Guglielmetti, Sun, 6 Jan 2013 11:16:12 +0100: > With Amaya 11.4.4 under Win7 with this code: > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> > <title>Nuovo</title> > <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/"> > </head> > > <body> > <video width="320" height="240" controls> > <source src="movie.mp4" type="video/mp4"> > <source src="movie.ogg" type="video/ogg"> > <source src="movie.webm" type="video/webm"> > <object data="movie.mp4" width="320" height="240"> > <embed src="movie.swf" width="320" height="240"> > </object> > </video> > > </body> > </html> > > I get no errors by Amaya (also saving and reloading) Hm. You are right. However, a few things *do* happen: 1) Though you don't get errors, you do get warnings (the button in the bottom right corner becomes red) 2) For the new elements, then Amaya removes the quote marks once you save the document. (The quote marks stay intact as long as the source code view is open - and active, but if you move the cursor to the WYSIWYG window, then they are removed.) Btw, you can also use the HTML4 *strict* doctype — that will work as well, and is thus recommended since the strict doctype triggers no-quirks (or "standards") mode. -- leif halvard silli
Received on Sunday, 6 January 2013 11:47:21 UTC