Saturday , February 23 2019

What is HTML (Hypertext Markup Language)?

HTML stand for Hypertext Markup Language is a computer language, developed by Tim Berners-Lee in 1989.  It is used to allow the users to create a web document like a website or web application. Hypertext is a text which provide link to another web document which is not linear. It is also known as Hyperlink.

What-is-HTML-Hypertext-Markup-Language

HTM (Hypertext Markup Language) Statements:

The statements of HTML are called Tags. The structure of HTML (Hypertext Markup Language) document consists of tags. Tags are two types which are written in the angle brackets <tag name>, </tag name>.

  • Container Tags:

These are paired tags which consist of both opening and closing tags, e.g. <html>, <head>, <title>, <body>, <b>, <i>, <ul>, <table> etc.

Syntax:

<tag name>

Contents

</tag name>

  • Empty Tags:

These are single tags which consist of online one tag, e.g. <br>, <img>, <hr> etc.

Syntax:

<tag name>

Read: Complete HTML Tags List

A web browser is used to view HTML documents from a web server or from a local storage location. The web browser don’t display the HTML tags and attributions, however, it reads the HTML document containing text or images in references of tags and attributions.

E.g. if we write some text like this <b> this is bold </b>, it shows in browser as this is bold where tag <b> is used for bold.

HTML (Hypertext Markup Language) Editor:

A simple text editor is used to learn HTML (Hypertext Markup Language) like Notepad, Notepad++, WordPad and TextEdit etc.

Write some text in tags in a Notepad and save it with (.htm or .html) extension.

Now go to the file and open it in your computer browser. Your document will show in references of tags and attributions.

What is HTML5?

It is the latest version of HTML (Hypertext Markup Language), uses structure of the basic HTML. It consists of a combination of three codes, i.e. HTML for developing the structure of a document, CSS (Cascading Stile Sheet) for styling of the document and JavaScript for happening. New semantics and dynamic elements are included.

Some new elements are also included in this version.

Example of HTML5 Document:

<!DOCTYPE html>

<html>

<head>

<meta charset=”UTF-8″>

<title>this is title of the document</title>

</head>

<body>

These are body contents of the document

</body>

</html>

How to Create an HTML (Hypertext Markup Language) Document?

Simply copy the above codes and past it into a Notepad.

  • Click on Start in window8 or window10
  • Click on Notepad
  • Just copy and paste the above HTML codes.
  • Save it as filename.html in your computer
  • Now, you can open and see the file

If this article is helpful for you, feel free to share it with your friends to all social networks like Facebook, twitter, Google+ and LinkedIn etc.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.