How to start coding in Html?

INTRODUCTION 
Html stands for a hypertext markup language.
HTML is a set of instructions given to a web browser to describe the structure of a web page.
Html use for creating or designing the webpage 
The coding of HTML is simple as compare to java, python, c++, etc.

HTML codes include two kinds of text.

CONTENT- content is the information displayed on the screen like text, picture audio, and video.

MARKUP - markup information inserted in HTML script to control the display.

History of HTML

The first version of HTML was written by Tim Berners-Lee in 1993

The most widely used version throughout the 2000s was HTML 4.01,

XHTML, was a rewrite of HTML as an XML language. 
XML is a standard markup language that is used to create other markup languages. 

Most pages on the Web today were built using either HTML 4.01 or XHTML 1.0
HTML5. Currently (2011), HTML5 is still a draft specification and is not yet an official standard.

What are tags?

In HTML, the instruction or commands in the form of text characters are called tags or markup.
The first tag in a pair is the start tag, and the second is the end tag. 
The text between the start and end tag is the element content.

Some tags do not contain the end tag. This type of tag is known as an open tag.
The tag which contains both start and end tag this tag is known as a closing tag.

Some examples of open and closed tags.

Open tags----- 

1.

tag  --- hr tag is used for line insert a horizontal line.
2.< Br> tag --- this tag is used for a line break.
3. tag --- this tag is used for inserting images in a webpage.
4. tag ---  this tag is used for the clickable area inside an image map.

Closed tag---

1.

.......

tag -- this tag is used for writing a paragraph 
2.

  • ............

tag -- this tag is used for inserting an unordered list
3.

  1. ..............

tag -- this tag is used for inserting an ordered list
4.

..............

Tag -- this tag is used for inserting a table in a webpage.
5. ............... tag -- this tag is used for changing the font or style of text on a webpage

Creating A webpage 

An HTML document is entered in a text editor such as notepad, CoffeeCup, HTML Editor, Komodo Edit, Apache NetBeans, Visual Studio Code, etc. 
For smartphones - HTML editor, trebEdit, A code, notepad plus, and so on.

Generally, a notepad is present on all the computers.

To create a web page in HTML, follow the steps given below

1. Click on the Start button
2. Choose accessories option from all program menu
3. Click on the Notepad option to open Notepad editor
4. In notepad, type the following program

It is a basic code. This indicates that your is in HTML 
saving a webpage, follow the steps given below.

1.Click on the file menu and select the save option.

2. In the save as dialogue box, type a filename and use extension( . HTML ) or (. htm) example my first page.HTML

3.Click on the Save button.

To view, a webpage follows the steps given below.

1. Double click on the Internet Explorer icon on the desktop to open the browser.
2. Click on the file menu and select the open option. A dialogue box will appear on the screen.
3. Browse the option and locate the HTML file by choosing the appropriate file and folder in which you have saved the file.
4. Click on the ok button, and the browser will display the webpage.

Enjoyed this article? Stay informed by joining our newsletter!

Comments

You must be logged in to post a comment.

About Author