Visual Basic Sample Code Hello World

In this tutorial, you will learn how to create a simple hello world page with HTML. Firstly, let explains some of the HTML basics.

  1. Visual Basic Hello World Code
  2. Hello World Visual Studio

This example introduces you to the basic functionality of VS Code by demonstrating how to write a 'hello world' program in C. Before continuing, make sure you have the 'ms-vscode.cpptools' extension installed. Initialize the Project. The first step is to create a new project. To do this, load the VS Code program. Working of C 'Hello World!' Program // Your First C Program In C, any line starting with // is a comment. Comments are intended for the person reading the code. This example introduces you to the basic functionality of VS Code by demonstrating how to write a 'hello world' program in C. Before continuing, make sure you have the 'ms-vscode.cpptools' extension installed. Initialize the Project. The first step is to create a new project. To do this, load the VS Code. In the next section, we introduce the Visual Basic programming environment and create an application that uses only a single object: the form itself. We will then add addi-tional objects and code to create a more complete Visual Basic application. Exercises 2.1 1. List the two elements of a Visual Basic Application.

  1. HTML is stands for Hyper Text Markup Language
  2. HTML is a text file which consists a set of markup tags like (<html><body></html></body>).
  3. Almost all of the markup tag has start tag <html> and close tag </html>. Close tag is start with a “/”.
  4. The markup tags is just like a command to tell web browser (Firefox or Internet Explorer) what should do.
  5. HTML file must have htm or html as file extension.
  6. HTML file is not case sensitive. <html>, <HTML> or <hTmL> are all same tag.
  7. HTML file can be edit with any text editor like notepad or wordpad in windows , vi or emacs in unix or linux.

Steps to create HTML page

Let start to create a classic “Hello world” HTML file.

1. Text Editor

Open your favorite text editor, e.g Notepad. Create an empty text file.

2. HTMP Code

Copy and paste the following HTML code into your newly open text file.

3. Save It

Click File, Save it with a HTML file extension, e.g “anynameyoulike.html”

4. Demo

Double click to view it. (Or open the newly saved HTML file with your favor Internet browser).

Visual Basic Hello World Code

Explanation of code

Sample
  1. <html></html> tag is tell internet browser this file is a start and end of the HTML file document.
  2. Text between <header></header> tag is for HTML header information, which is not display in internet browser.
  3. Text between <title></title> will display in left-up corner in internet browser, it’s web page title.
  4. Text between <body></body> will display as content in internet browser.

Hello World Visual Studio

Related Articles

mkyong

Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments are closed.