Basic HTML

Advance HTML

HTML Tags Reference

HTML Code Generator


HTML <script> Tag


HTML <script> tag define a client side script.


Example-Code:

<<script type="text/javascript">
document.write("Hello Students!")
<</script>
Online Try This Code Your Self....   »

Example-Result:


<script> Attributes

<script> tag support following attributes.:

Attributes Value Description
type "text/javascript" Declared specify type of the script.

Dynamic Attributes

<script> tag does not supported Dynamic attributes.


Event Attributes

<script> tag does not supported Event attributes.