Re: Slash or no slash?
"David Dorward" <[email protected]> Thu, 05 Mar 2015 13:21:08 +0000
| Newsgroups | gmane.org.w3c.validator.css |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 3156 and 4880). --=_MailMate_9632FBAD-9BB4-4656-82FB-5205BEA2151E_= Content-Type: multipart/alternative; boundary="=_MailMate_91D9CE97-D6B4-4707-A7A4-3EDDD48A5C01_=" --=_MailMate_91D9CE97-D6B4-4707-A7A4-3EDDD48A5C01_= Content-Type: text/plain; charset=utf-8; markup=markdown Content-Transfer-Encoding: quoted-printable On 3 Mar 2015, at 14:20, Bill Byrd wrote: > Immediately below your snippet for the =E2=80=9Cpassed the validation=E2= =80=9D badge, you have this... > > (close the img tag with > instead of /> if using HTML <=3D 4.01) > > To me, that suggests that HTML5 user WOULD use the forward slash. > That=E2=80=99s not correct is it? It is correct. The `/` character is optional in HTML 5. See [Stackoverflow: Are self-closing tags valid in HTML5?][1] [1]: http://stackoverflow.com/questions/3558119/are-self-closing-tags-val= id-in-html5 -- = David Dorward http://dorward.co.uk/ --=_MailMate_91D9CE97-D6B4-4707-A7A4-3EDDD48A5C01_= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <div class=3D"markdown"> <p dir=3D"auto">On 3 Mar 2015, at 14:20, Bill Byrd wrote:</p> <blockquote> <p dir=3D"auto">Immediately below your snippet for the =E2=80=9Cpassed th= e validation=E2=80=9D badge, you have this...</p> <p dir=3D"auto">(close the img tag with > instead of /> if using HT= ML <=3D 4.01)</p> <p dir=3D"auto">To me, that suggests that HTML5 user WOULD use the forwar= d slash.<br> That=E2=80=99s not correct is it?</p> </blockquote> <p dir=3D"auto">It is correct. The <code>/</code> character is optional i= n HTML 5.</p> <p dir=3D"auto">See <a href=3D"http://stackoverflow.com/questions/3558119= /are-self-closing-tags-valid-in-html5">Stackoverflow: Are self-closing ta= gs valid in HTML5?</a></p> <p dir=3D"auto">-- <br> David Dorward<br> <a href=3D"http://dorward.co.uk/">http://dorward.co.uk/</a></p> </div> --=_MailMate_91D9CE97-D6B4-4707-A7A4-3EDDD48A5C01_=-- --=_MailMate_9632FBAD-9BB4-4656-82FB-5205BEA2151E_= Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQIcBAEBAgAGBQJU+FhEAAoJEIx1Sul6qG3Fr/QP/262djnzD/NTyAPki5sxpuYf zgBwHQw9LP2rmBvtWXcMaj1vZMtKiEky/UyinvFsdiZFhP7OwP75qSClGcftf/NO 8tlTPp82PJOxg7Ijpo3FiTZLgFTSEfUjN48mL0BEreX/+4pPcv7ZwHU1mdObQ9F4 zTJhL9drzMq9z/4RfX3olQS6lrn2XKTyFJTAGltjYp/cZHDi/0ekvuL1za1q8/DG liHQ0JtBcgVhxTE7aecU0HrbCvRIVXx8hm4OncGr9W0lulJwFDhwndgw/wOCQX29 3IPDGgFuxxTWrEoHLQVUv833luObQTtGfMBciw7udeDd2iyFu3WthHwzmsQE6VLZ wBvwq1l/N58u1Gy8mKBvUaSpEu06CnxbshG4z6bJ8bMDC5U6VQVISCpIAyT3Irz7 5JU+5vJwswkX6NDuD9sF/Wxy++SjkhIADXll7h5nI4wG3P8X2MczeP8jMuKuDyfw LNw7gxKZV/s01eJCwWdidG3gqvRuyV+jO2N68vue0v7Sn8KcGgokZvzpiGjsIoFP FQIfX9pU5O0ZodL2Rc3JA37gsp9G2kDgJdClRgBm4Qk446xXoI5fbZ+y6QBkejbI TfxrbTZArHLb6S4Afbhv4l5el9eXPg1ymDOdBftZT3puWhMfHqE3UqXYzlMZ2+mC AUulUxUVPfUC4uFP4/LF =s+xf -----END PGP SIGNATURE----- --=_MailMate_9632FBAD-9BB4-4656-82FB-5205BEA2151E_=--