Specify a script to be loaded during document rendering.
HTML
For HTML target translation or direct browser loading, the <script> element may be used to specify an HTML <script> header entry. During HTML target translation or direct browser loading, the element is copied verbatim into the document's header.
See the HTML specification for information on the possible attributes of the HTML target <script> element.
See the HTML specification for information on the possible descendant elements of the HTML target <script> element.
Element name | Relation |
---|---|
<metadata> | The enclosing metadata section containing the HTML target specific script element. |
<document xmlns="http://boradoc.org/1.0"> <metadata> <script src="resources/js/main.js" type="text/javascript" /> </metadata> </document>