HTML is easy to follow. It is convenient for beginners to learn. If you look at the code of any web page through its page source, then you will find that it is easy to follow too. If you have not coded any time before, then this might seem quite a daunting task. The first thing to consider about any language is to know the basics and important keywords which are used in writing it. You can take the HTML tutorials here.
So, how to begin with HTML?
Firstly, one should start with the basics of HTML. You can start creating on the applications available on your computer.
The second important step is to save it. You must save your text pad document as “filename.html”. In order to open, your webpage as the browser HTML page, you must save it with .html or .htm extension. The rules of naming are similar to naming of any Word or Excel document. You can use alpha numeric codes and underscore as a space extension. Learn more from the HTML tutorials that have been designed to help the user in every aspect of using the Hyper Text Markup Language.
In order to begin with coding of HTML, you should know the basic inputs which will be used. A simple HTML page is composed of three things- tags, attributes and elements.A simple example of sample webpage has been given.
<html> <head> <title> My First Webpage </title> </head> <body> Hi, I have created my first web page </body> </html>
In the above text,
- the first tag and last tags are <html> and </html> – the most important tags to create a web page.
- <title> and <title> shows the title of your web page on the top of the website.
- <body> and </body> includes everything which you want to display in the website.
NOTE: If there is a beginning tag, then there must be an ending tag such as, </ –text — >.
Attributes are usually the extra information which are given inside the tags.
<tag name attribute=”value”>
The attribute is bgcolor. The value of the attribute is red.
The elements re anything which are inside the tags; these make up the information on the webpage. For example, all the data which you want to post on the website are inside <body> and </body> tags. This is known as elements.