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

What is HTML Tag?

October 19, 2021
If Openais service are not available in your country, try with the aid of a VPN. You can access the website using the help of a VPN.

Simple methods to do if Openais services are not available in your country

February 6, 2023
youtube to mp4 iphone

5 Best youtube to mp4 iphone converters On The Market

January 31, 2023
masako katsura cause of death

Billiards Player masako katsura cause of death At The Age Of 83

January 30, 2023
cozy restaurants

Cosy Restaurants: What Makes Them So Special?

January 30, 2023
current fashion trends

What Current Fashion Trends Are You Most Interested In?

January 30, 2023
andrew tate age

Andrew Tate Age, Height, And What He Looks Like As A Kick Boxer

January 30, 2023
peanut the world's ugliest dog

Peanut, The World’s Ugliest Dog, Sure Is A Eye-Catching sight.

January 30, 2023
how old is chloe schnapp

How old is Chloe Schnapp: Old Enough To Drive, Young Enough To Be Famous

January 30, 2023
mp4movies in

The Role Of MP4Movies In The Future Of Online And Offline Video Consumption

January 30, 2023
tata towel

Why Tata Towel is Suddenly The Trendiest Add-On To Your Household Routine

January 30, 2023
moen shower handle

How to Install a Moen Shower handle

January 30, 2023
wireless subwoofer

Wireless Subwoofer Buying Guide: What To Look For

January 30, 2023
Thursday, February 9, 2023
News Plana
  • Home
  • Business
  • Health
  • Technology
  • write for us
  • Contact
No Result
View All Result
  • Home
  • Business
  • Health
  • Technology
  • 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

 

Contents hide
1 What is HTML Tag?
1.1 Paired Tags:
1.1.1 Paired Tags Example
1.2 Unpaired Tags:
1.2.1 Unpaired tags Example
1.3 What is the function of HTML Tag?
1.4 Some Basic Html Tags and their Examples
1.5 Basic Unpaired Html Tags:

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
Share201Tweet126Share50
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

If Openais service are not available in your country, try with the aid of a VPN. You can access the website using the help of a VPN.

Simple methods to do if Openais services are not available in your country

by Amanda
February 6, 2023
0

The OpenAI API is a valuable tool for developers. It lets you view the application you are creating and make...

youtube to mp4 iphone

5 Best youtube to mp4 iphone converters On The Market

by Amanda
January 31, 2023
0

YouTube videos can easily be turned into MP4 files for viewing on iPhones and iPad. Here are five of the...

wireless subwoofer

Wireless Subwoofer Buying Guide: What To Look For

by Amanda
January 30, 2023
0

When it comes to buying a wireless subwoofer, there are a few things you'll want to keep in mind. This...

How to make a logo for free

by News Plana
January 21, 2023
0

Turbologo is an online service that will create a customized logo in a matter of time. A logo is an...

  • Trending
  • Comments
  • Latest

WhatsApp Plus APK

July 2, 2022
Custom Boxes With Logo

Where to Buy Wholesale Custom Boxes With Logo

July 7, 2021
SCCM

Microsoft Intune vs SCCM

May 20, 2021
Click Funnels

Click Funnels: Attract new customers with funnels

1
If Openais service are not available in your country, try with the aid of a VPN. You can access the website using the help of a VPN.

Simple methods to do if Openais services are not available in your country

0

Best Cooling Gel Pillows for people that Run Hot

0
If Openais service are not available in your country, try with the aid of a VPN. You can access the website using the help of a VPN.

Simple methods to do if Openais services are not available in your country

February 6, 2023
youtube to mp4 iphone

5 Best youtube to mp4 iphone converters On The Market

January 31, 2023
masako katsura cause of death

Billiards Player masako katsura cause of death At The Age Of 83

January 30, 2023
News Plana

Copyright © 2012 News Plana. All Rights Reserved.

Navigate Site

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

Follow Us

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

Copyright © 2012 News Plana. All Rights Reserved.