HTML Basic Tags: Definition and Elements

In this blog, I show you how to make HTML websites like digital Tasks. This website only codes HTML and CSS, and JavaScript. now you are Learning how to create an HTML website show first step is what is HTML? & how to work HTML code? And Etc.

Learn Step by Step:

What is HTML & HTML5?

HTML (HyperText Markup Language) is a standard markup language used to create web pages. It is the foundation of the World Wide Web, and is used to describe the structure of web pages in terms of elements such as headings, paragraphs, lists, links, and more. HTML is written in the form of tags, which are surrounded by angle brackets and placed within the text of a document. These tags tell the browser how to display the content of the page.

Here is an example of a simple HTML page:

<!DOCTYPE html>
<title>My Page</title>
<h1>Welcome to my page</h1>
<p>This is a simple page created with HTML.</p>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
HTML and HTML5 is the best platform for coding in web development. html is old version and HTML5 is the New version only <!DOCTYPE html> this syntax used HTML5. html 5 defined the browser this code is html5 versionsHTML Basic Code | HTML Elements

HTML5 Basic Code | HTML5 Elements


What is an HTML tags

HTML Definition is Hyper-Text Markup Language this language uses website development and other functions used.

What is a head tag


The Head tag Contains the metadata.  It Should be the First Element Inside the <html> element.  It must be Closed before the body tag opens. Head tag is used External & Internal Links Section in HTML.

What is a title tag


<title> </title>

The title tag is the defined Web – Pages For Ex. digital tasks top new tap like (Best Content Provider Company in Mumbai this the Title).


What is a Style tag



HTML<style> tag is used to define an Element Style Information. We also call style Element as the mini CSS of the HTML Document. Because this Element lets you define the inline CSS of a web page.


  1. Media
  2. Type




The media attribute specifies what media/device the linked document is Optimization for. This attribute is used to specify that the target URL is Designed for the special device (like Screen, Tv, Mobile, iPhone), Speed, or print media.



The type attribute specifies the internet media type (formerly known as MIME type) of the <style> Tag.

What is a Body tag


The <body> tag defines the Document body. The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.

<body> tag must come after <head> tag.

<body> tag can be only one in html document.



1) bg-color

Designates the background color on a page.


2) Background

Designates the background image on a page.


3) Text

Designates the color of text on a page.


4) Link 

Designates the color of a link that has not yet been clicked.


4) V-link

Designates the color of visited links.


4) A-link 

Designates the color of a link turns when it is selected.




Similar Posts

Leave a Reply

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