VBScript How To ''' - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

VBScript How To '''

Description:

Hello from VBScript! To insert a script in an HTML document, use the script tag. ... script type='text/vbscript' Then comes the VBScript: The command for ... – PowerPoint PPT presentation

Number of Views:62
Avg rating:3.0/5.0
Slides: 11
Provided by: dul3
Category:
Tags: vbscript

less

Transcript and Presenter's Notes

Title: VBScript How To '''


1
VBScript How To ...
2
How to Put VBScript Code in an HTML Document
  • lthtmlgt
  • ltheadgt
  • lt/headgt
  • ltbodygt
  • ltscript type"text/vbscript"gt
  • document.write("Hello from VBScript!")
  • lt/scriptgt
  • lt/bodygt
  • lt/htmlgt

3
And it produces this output
  • Hello from VBScript!

4
  • To insert a script in an HTML document, use the
    ltscriptgt tag. Use the type attribute to define
    the scripting language.
  • ltscript type"text/vbscript"gt

5
  • Then comes the VBScript The command for writing
    some text on a page is document.write 
  • document.write("Hello from VBScript!")

6
  • The script ends
  • lt/scriptgt

7
Writing Text
  • lthtmlgt
  • ltbodygt
  • ltscript type"text/vbscript"gt
  • document.write("Hello from VBScript!")
  • lt/scriptgt
  • lt/bodygt
  • lt/htmlgt

8
How it looks in a browser
9
Writing Text with Formatting
  • lthtmlgt
  • ltbodygt
  • ltscript type"text/vbscript"gt
  • document.write("lth1gtHello World!lt/h1gt")
  • document.write("lth2gtHello World!lt/h2gt")
  • lt/scriptgt
  • lt/bodygt
  • lt/htmlgt

10
How it looks in a browser
Write a Comment
User Comments (0)
About PowerShow.com