You are currently viewing Introduction to HTML | Web Development

Introduction to HTML | Web Development

HTML represents HyperText Markup Language and is used to design websites (as well as web pages). HTML is a combination of Hypertext and Markup language in which Hypertext defines the link between the web pages or texts in the web pages and a markup language is a text document within the tags that define the structure of a web page. This language is used to interpret text so that a machine can understand it and manipulate the text accordingly. Most markup languages (like HTML) are readable and understandable by humans. The language uses tags to define the interpretation that has to be done on the text.
HTML is a markup language used by browsers to interpret text, images, and any other content, in order to display it in the required format.

Elements and Tags: HTML uses predefined elements and tags which tell the browser how to display the content accordingly (according to the tag or element used). Always remember to include the closing tag. If the closing tag is not declared, the browser applies the effect of the opening tag till the end of the web page.

Page structure: The basic structure of the HTML page is shown below. It contains the necessary building-block elements (i.e. declaration of doctype, HTML tag, head tag, title tag, body tag, and body elements) on which the websites (as well as the web pages) are created.

<DOCTYPE! html>: This is the declaration of a document type that the document is of HTML(not a tag technically).

<html> tag: This is called the HTML root element. All the other tags and elements are stored in it.

<head> tag: The head tag contains the elements that work from behind for a website(or webpage). Elements in the head are not visible in the interface (or frontend) of a website. HTML elements used inside the tag includes: 

  • <title>
  • <style>
  • <script>
  • <meta>
  • <link>

<body> tag: the body tag is used to store all the visible content of a webpage or website. In other words, the body content is what the browser will show on the front-end(or the interface of the website).

An HTML document can be created using any text editor(like notepad) and saving the text file using .html or .htm extension. and Once the file is saved as an HTML document, the file can be opened as a webpage in the browser.

Here’s an example of an HTML webpage:

<!DOCTYPE html>

	<title>Demo Web Page</title>


<h1>Developers Dome</h1>
<p>Introduction to HTML</p>




Easy to learn and use.
Platform independent and can be written in any IDE or text editor.
Images and any other media can be embedded in web pages without any problems.
It allows you to add hypertext to text.

Simple markup language.
Is easy to do.
Is used to create web pages (or websites).
Help develop basic knowledge of Web programming.

It is used to create web pages (or websites).
It is compatible with all browsers.
Can be integrated with other languages ​​such as CSS and JavaScript.

You can only create static web pages (or websites). Dynamic web pages must use other languages.
To create a simple web page (or website), you need to write a lot of code.
its security features are not that good.

This Post Has One Comment

  1. Kenzo

    Mast h bete

Leave a Reply