what is script tag in hindi :
script
एक
html tag है
जिसका use
scripting language को
use करने
के लिए करते है इसे <script>
से
शुरू करते है तथा </script>
पर
अंत करते है तथा इसके 2
प्रमुख
attribute होते
है
1. Type
type
attribute का
use कर
के यह बताया जाता है की किस
scripting language
का
use किया
जा रहा है type
में
उसका name
लिखा
जाता है
Example
:
<script
type="text/javascript"></script>
jquery
javascript की
library है
इस लिए इसका type
javascript ही
होता है
2. src :
इस
attribute का
use कर
के यह define
किया
जाता है की jquery
library कहा
है
Example
:
<script
type="text/javascript" src="js/myjs.js"></script>
0 komentar: