• Latest
  • Trending
  • All
  • News
  • Business
  • Politics
  • Science
  • World
  • Lifestyle
  • Tech
what is html tag

What is HTML Tag?

October 19, 2021
Custom Donut Boxes

What Makes Custom Donut Boxes Look Great?

August 10, 2022
ij start cannon

Fixing a Canon Printer in Descriptive way

August 10, 2022
Uber eats clone

Start Online Food Delivery Business

August 10, 2022
house-construction-company

How House Construction Companies in Karachi Minimize Construction Costs

August 10, 2022

What are the Effects of HIV on the Human Body?

August 10, 2022
3D medical background with male head and brain on DNA strands

What is Xanax used for?

August 10, 2022
cost of solar panels

How much does it when using solar panels UK Cost to run an air conditioner?

August 10, 2022

How do Offshore Software development Services bridge the gaps existing in your Business Operations?

August 10, 2022
Buy Xanax Online

Buy Xanax Online Fast Delivery in USA

August 10, 2022
Hyper-V Storage

Best Practices of Hyper-V Storage

August 10, 2022
Delta Airlines Policies - Pet Policy

Delta Airlines Pet Travel Policy – AirTravelPolicy

August 10, 2022

The Top 10 Alcohol Delivery Apps That You Must Try In 2022

August 10, 2022
Wednesday, August 10, 2022
News Plana
  • Home
  • Business
  • Health
  • Technology
  • Log In
    • Register
  • write for us
  • Contact
No Result
View All Result
  • Home
  • Business
  • Health
  • Technology
  • Log In
    • Register
  • write for us
  • Contact
No Result
View All Result
News Plana
No Result
View All Result
Home Computers and Technology

What is HTML Tag?

by Next G Education
October 19, 2021
in Computers and Technology, Web Design
0
what is html tag
Share on FacebookShare on Twitter

HTML (Hypertext markup language) – In this, we will know what is HTML tag is and what is its importance in creating an HTML web page.

Understanding HTML tags is not very difficult. With continuous practice, you can become a master of HTML tags in no time. In this post, we will know what HTML tags are and will also tell you examples of some basic HTML tags. Due to which it will be very easy for you to understand HTML tags. So without wasting any time let’s start to Learn Html – what is HTML tag.

In this article, we are going to talk about all these topics.

  1. What is HTML Tag?
  2. What is the function of HTML Tag
  3. Some Basic Html Tags and their Examples

 

What is HTML Tag?

html tag

HTML tags are a type of code, which is represented by writing their name between two singular brackets (<>). Each tag is identified and has a different function. These tags are use from making the top part (head) of a web page to making the lower (footer) and middle (content area) parts. These tags are divide into two parts respectively.

  1. Paired Tags
  2. Unpaired Tags.

Paired Tags: 

These tags are pair. They have both opening and closing tags. The opening tag is also called the starting tag, which is defined with <head>. The same closing tag is defined by putting a slash (/) inside angular brackets ( </head> ). Example-

<Head> Html Tag </Head>

The head tag is shown in the above example. Which is used to make the head part (upper part) of the web page. Now since this is a paired tag, this ( <Head> ) is its opening tag and ( </Head> ) its closing tag. Almost all the important tags are paired.

Paired Tags Example

  1. Html tag – <html> </html>
  2. Title tag – <Titel> </Titel>
  3. Body tag – <Body> </Body>
  4. Heading tag – <h1> </h1>
  5. Paragraph tag – <p> </p>
  6. Bold tag – <b> </b>
  7. Italic tag – <i> </i>
  8. Underline tag – <u> </u>

Unpaired Tags:

These tags are not paired but single, they do not have any opening and closing tags. The use of such tags is very less when creating web pages. Example- <br>

In the above example, this is a Line Break tag. Which is used while writing a paragraph, ending one line, and writing another line. Now since it is an unpaired tag, hence it does not have an opening and closing tag.

Unpaired tags Example

  • Image tag – <image>
  • Horizontal Line tag – <hr>

 

What is the function of HTML Tag?

When Tim-Berners-Lee started the World wide web for document sharing. Then he made his first software ENQUIRE. This software was in very simple language. Its job was to send a text from one computer to another. Due to the demand for new technology, Lee started browser and server software in 1990, specifying the Html language.

  • While creating the browser and server software, Lee created some special codes to make them work.
  • With the help of these codes, you can give special commands and explain your webpage to the browser.
  • Today we call these codes Html Tags. These tags were written before web pages were created.
  • The browser and software server already understand the commands of all these tags.

For example, while creating a web page, when we write the head tag (<head>) in the HTML document and run it in the browser, then the browser understands the command of that tag and shows it on the output web page.

Now because each HTML element (tags) has its own command for the browser. With the help of which we can create the structure of a web page. Basically, in an HTML document, these tags are use to create the structure of the web page.

 

Some Basic Html Tags and their Examples

Basic Paired Html Tags:

  1. DOCTYPE Tag – <!DOCTYPE>

It is not a tag like that, but the Doctype tag tells the browser how the document is written. Just like we are talking about Html, then it will be written something like <!DOCTYPE html> This tells the browser that the document is created from HTML language. You can learn coding languages like – c language classes near me, javascript course, HTML course, CSS course and advanced c++ course From the best web design and development institute…

  1. Html Tag – <html></html>

This tag is the main tag of HTML. Which defines an HTML document. Creating an HTML document is started with this tag. All the rest of the HTML elements are written in between this tag.

  1. Head Tag – <head></head>

The header area of ​​the web page is created by this tag. This tag provides essential information about a web page. <title>, <style>, <script>, <link>, <meta> all these tags are written inside the head tag.

  1. Body Tag – <Body></Body>

This tag is use to create the content area of ​​the web page. This is a very important tag. Body tag can be use only once in an HTML document.

  1. Title Tag – <title></title>

The title tag is use to give the title of any web page. It is written inside the head tag. With the help of the title tag, the browser is able to know what the web page is about.

  1. Heading Tag – <h1></h1>

This tag is use to write the heading of the document. Heading tags start from h1 to h6 respectively.

  1. Paragraph Tag – <p></p>

This tag is use to write paragraphs. You can use any number of paragraphs in your HTML document by using this Paragraph Tag.

  1. Bold Tag – <B></B>

This Bold tag is use to bold or makes an important text bold. Any number of bold tags can be use in an HTML document.

  1. Italic Tag – <i></i>

The italic tag is use to italicize a text. This tag can be use multiple times in an HTML document.

  1. Underline Tag – <u></u>

Underline tag is use to underline the text. Using this tag draws a deep line below the text.

Also learn: How to Earn Money from Google

 

Basic Unpaired Html Tags:

  1. Line Break Tag – <br>

While writing a paragraph in an HTML document, Line Break Tag is use to end a line and start the next line. With the help of this tag, the line of the paragraph is not straight but alternately. Due to which the size of a web page remains under control.

  1. Image Tags – <img>

The image tag is use to add an image to the HTML document. src, alt, width, height, and style are all attributes of the image tag. With the help of which we can get the URL, width, height, etc. of that image. Can give everything.

  1. Horizontal Line Tag – <hr>

This tag use to specify the thematic breaks in the paragraph. If you shift from your topic while writing a paragraph, then this tag draws a line between those two topics. Due to which a gap comes between them.

Conclusion– Today we have learned in this part what HTML tags are? and how they work. To ask all your questions, submit your comment in the comment box below.

Tags: advantages of htmlhtml codinghtml tagsIntroduction to HTMLwhat is htmlwhat is html codewhat is html definitionwhat is html in computerwhat is html tagswhat is html used for
Share200Tweet125Share50
Next G Education

Next G Education

Next G Education is Rated as one of the Best Training Institute in Delhi, Which Provides the Best Web Design Course, Web Development Course, Digital Marketing Course, Graphic Design Course, Video Editing Courses, Diploma in Architecture, Etc...

Related Posts

ij start cannon

Fixing a Canon Printer in Descriptive way

by goerrors
August 10, 2022
0

These days, no one can do without a printer, whether at home or in the office. ij start cannon printer...

Export Thunderbird Emails to Outlook

How to Export Thunderbird Emails to Outlook? Free Methods

by kylen
August 8, 2022
0

Are you seeking a way to export emails from Thunderbird to Outlook 2019, 2016, 2013, 2010, and all earlier versions?...

How to Fix QuickBooks Payroll Error Code 20102?

by Williams042
August 8, 2022
0

Users of QuickBooks Desktop software come across Error Code 20102, which indicates that the EIN, i.e., Employer Identification Number, is...

Why Should You Choose Sales Force Automation For Building Materials & Construction Company?

by jontylims
August 8, 2022
0

The construction companies have their own challenges and struggles, just like the industries of other sectors. But, their challenges are...

  • Trending
  • Comments
  • Latest

WhatsApp Plus APK

July 2, 2022
Custom Boxes With Logo

Where to Buy Wholesale Custom Boxes With Logo

July 7, 2021
Likabout

A New Alternative Social Media Network Is Up

May 30, 2022
Click Funnels

Click Funnels: Attract new customers with funnels

1

Allergan Botox injection: treatment for wrinkles

0
Treatments for Coronavirus (COVID-19): Ivermectin - White plastic packaging bottle in the hands with tablets. Isolated on blue background. Horizontal shot.

Buy ivermectin | Anti-parasite | It’s uses | Side effects.

0
Custom Donut Boxes

What Makes Custom Donut Boxes Look Great?

August 10, 2022
ij start cannon

Fixing a Canon Printer in Descriptive way

August 10, 2022
Uber eats clone

Start Online Food Delivery Business

August 10, 2022
News Plana

Copyright © 2012 News Plana. All Rights Reserved.

Navigate Site

  • Home
  • Business
  • Health
  • Technology
  • Log In
  • write for us
  • Contact

Follow Us

No Result
View All Result
  • Home
  • Business
  • Health
  • Technology
  • Log In
    • Register
  • write for us
  • Contact

Copyright © 2012 News Plana. All Rights Reserved.