About 14,000 results
Open links in new tab
  1. <script>: The Script element - HTML | MDN - MDN Web Docs

    The <script> HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <script> element can also be used with other languages, such as …

  2. HTML script tag - W3Schools

    The <script> tag is used to embed a client-side script (JavaScript). The <script> element either contains scripting statements, or it points to an external script file through the src attribute.

  3. html - Which is better: <script type="text/javascript">...</script> or ...

    HTML 4.01 and XHTML 1.0 specifies the type attribute as required while HTML5 has it as optional, defaulting to text/javascript. HTML5 is now widely implemented, so if you use the HTML5 doctype, …

  4. HTML: <script> tag - TechOnTheNet

    This HTML tutorial explains how to use the HTML element called the script tag with syntax and examples. The HTML script tag is used to embed or reference a client-side script such as JavaScript …

  5. HTML script Tag - TutorialsTeacher.com

    HTML v5 page does not require the type attribute because the default script language is 'text/javascript' in a <script> tag. An HTML page can contain multiple <script> tags in the <head> or <body> tag. The …

  6. HTML <script> Tag - W3docs

    The HTML<script> tag is used to declare client-side script in an HTML document. Read about tag description, attributes, important notes and see examples.

  7. HTML Script text Property: Script Text Content - CodeLucky

    Feb 17, 2025 · A comprehensive guide to the HTML script text property, detailing its usage, syntax, and practical examples for adding JavaScript code directly within HTML.

  8. Do You Need type='text/javascript' in Script Tags? Modern Browsers ...

    Nov 28, 2025 · The type='text/javascript' attribute is a relic of a bygone era—when the web supported multiple scripting languages and HTML specs were more rigid. Thanks to HTML5, modern browsers …

  9. HTML script type Attribute - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

  10. HTML script Tag - Tutorial Republic

    The <script> tag is used to embed or reference an executable client-side script (such as JavaScript) within an HTML or XHTML document. The <script> tag may appear any number of times in the …