W3C home > Mailing lists > Public > www-html@w3.org > July 2011

Supported HTML markup standards

From: Johnson, Tom <Tom.Johnson@uk.penguingroup.com>
Date: Wed, 29 Jun 2011 09:35:03 +0100
Message-ID: <452BC92D2657FD418D9FEFAD0B01586E0D232AB3@UKSTREXVS02.pcroot.com>
To: <www-html@w3.org>

I would like to gain clarification on HTML coding which I have been
provided; whether or not is a supported standard and any implications
that would become apparent should this code be migrated into dynamically
served content.

My concern is that additional spaces have been placed immediately after
the first quote mark and before the final quote mark of a JavaScript
function. I have illustrated this by using Red X's.

Thus: <a
href="http://www.penguin.co.uk/nf/Book/BookDisplay/0,,9780141192178,00.h
tml"
onclick="javascript:openWindowPDFwindow('XXhttp://www.penguin.co.uk/stat
ic/cs/uk/0/downloadextracts/PT_Office_Hours.pdfX');">

I am of the belief that this is not only poor coding, but also this is
not a supported (or endorsed) standard which could cause display issues
in the near future.

I would appreciate any clarification on this and these points:
Is this supported markup
Is this good HTML coding practices
Are there any implications

I greatly appreciate any assistance and help you are able to provide.
If I have contacted the incorrect group or area, I would be grateful if
you were able to point me in the correct direction

Kind regards

Tom Johnson
Design Manager
Penguin Online

t: 0207 010 4594
e: tom.johnson@uk.penguingroup.com


 
This email was sent by a company owned by Pearson plc, registered office at 80 Strand, London WC2R 0RL.
Registered in England and Wales with company number 53723
Received on Friday, 1 July 2011 05:33:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:19 GMT