Introduction to HTML

 Introduction to HTML

HTML stands for Hyper Text Markup Language. It is used to develop the web pages.  HTML is a white space collapser means it removes the extra/unused white spaces.

HTML can run in both online and offline compilers.

Mostly we run in the Notepad++.

 

How to Execute program in notepad++ :-

 

Step-1   Open Notepad++

Step-2   Write the HTML code

Step-3  Save the file with the .html extension. So we can run that code in browser.

Step-4  We can run code in two ways.

1)       Go to location where you saved the file. By double tapping the file we can execute the code.

2)       By entering the path of the file in the browser we can execute the HTML code.

 

Lets see a basic HTML program. And run it your own.

Example 1

<!DOCTYPE html>

<html>

<body>

<h1> This is our first HTML program </h1>

</body>

 

Example 2

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>

</html>


This is the basic structure of html.

      



Post a Comment

Previous Post Next Post