Free WebSchools.com

Google



Submit ArticleForumsLive chat WebhostingSEO ToolsLink TO UsResources


HOME

HTML Basic

HTML Introduction
HTML Basic Tags
HTML Formatting

HTML Entities
HTML Links
HTML Frames
HTML Tables



HTML Lists
HTML Forms
HTML Images

HTML Background
HTML Colors


HTML Advanced
HTML Fonts
HTML Styles
HTML Head
HTML Meta

HTML Scripts
HTML Events


Insert a Script into HTML Page





A script in HTML is defined with the <script> tag. you have to use the type attribute to specify the scripting language.



output of above example is
welcome to webschools!

Note

A browser that does not recognize the <script> tag at all, will display the VBScript: The <noscript> Tag In addition to hiding the script inside a comment, you can also add a <noscript> tag.
If you want more information about javascript visit webschools javascript tutorials