Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Create web page (HTML) from code


'add additional HTML code with additional Print statements
Open "mypage.htm" For Output As #1

Print #1, "<html>"
Print #1, "<head>"
Print #1, "</head>"
Print #1, "<body>"
Print #1, "<h2>My Page</h2>"
Print #1, "</body>"
Print #1, "</html>"

Close #1