HTML Basics - Online Article

What is HTML?

  • HTML stands for Hyper Text Markup Language.
  • An HTML file is a text file containing small markup tags, these markup tags tell the Web browser how to display the page.
  • An HTML file can be created using a simple text editor

How to create HTML page

Click on Start > Open Run

snapshot 1.JPG

Run > type notepad in Run to open notepad

notepad snap.JPG

notepad snap1.JPG

Now to open a new file > Click New in File menu.

notepad snap2.JPG

This is how code will be written in notepad.

notepad snap3.JPG

Now to save file > Click Save As in File menu.

notepad snap4.JPG

Write file name and save it in .htm or .html format

save snap.JPG

File will be saved as "firstpage.htm" or "firstpage.html"

Basic structure of HTML coding

		<title>Title of page- Youth For Revolution India </title>
	<body>This is first tutorial on HTML from Vinit Kumar Sharma. Youth For Revolution India.</body>

Save the file as "firstpage.htm" or "firstpage.html".

web page snap.JPG

The first tag in your HTML document is <html>. This tag tells your browser that this is the start of an HTML document. The last tag in your document is </html>. This tag tells your browser that this is the end of the HTML document. The text between the <head> tag and the </head> tag is header information. Header information is not displayed in the browser window. The text between the <title> tags is the title of your document. The title is displayed in your browser's caption. The text between the <body> tags is the text that will be displayed in your browser.

HTML documents are text files made up of HTML elements. HTML elements are defined using HTML tags. HTML tags are used to mark-up HTML elements HTML tags are surrounded by the two characters < and > The text between the start and end tags is the element content HTML tags are not case sensitive

This is an HTML element: <b> HTML element content </b>

To view the code of this tutorial, click here.

To know about how to write headings and tables, see the next tutorial on HTML Headings & Tables.

About the Author:

No further information.


No comment yet. Be the first to post a comment.