W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2014

[whatwg] Proposal: defining script as <link rel="script" href="actualwaytoscript">

From: Tim Marinin <marinintim@gmail.com>
Date: Thu, 26 Jun 2014 13:06:15 +0400
Message-ID: <CA+VkhAe-GsBiWsqNsk_R9B3a_J9hkPVnr6mJWDyKFOtWk5O=Tw@mail.gmail.com>
To: whatwg@whatwg.org
Most often use for tag <script> is to include external script through
<script src="somecdn.example/jquery.js">, or alike. May be we could add
rel="script" to <link> tag with same behaviour as <script> with src.

It's similiar to stylesheets: we can link external stylesheets via <link>
and include CSS directly on page with <style> tag.

Best regards,
Tim
Received on Thursday, 26 June 2014 09:06:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:21 UTC