click the bell icon to get latest videos
from Ekeeda Hello friends in this video
we will be discussing about the basic
tags which we require to form an HTML
document that is a unit of markup it is
a sale it is a set of special symbols
which are designed to have some special
meaning or to give some special meaning
to a document now every tag starts with
this sign and it ends with this same
this is called as started whereas this
is called as painter so in HTML there
are two types of tags the first is for -
pay or tags and the other is called as
unfair attack or you can cut it as non
tear that a pair tag is something which
has this start tag as well as a tight
end tag is always followed by the slash
sign so the tag where the tag which has
both the tags are Condors pay attack
whereas in the unfair attack it takes
only the start tag it doesn't take in
them so there are two types of taxpayer
tag and what unfair attack now let us
start with some special some basic tags
the very first tag is HTML tag HTML tag
defines that any text that follows under
HTML tag is considered as HTML document
or you can say to start with the HTML
document we have to start with the HTML
tag number two head tag hair tag defines
the header section of your HTML document
the head tag always has title tag into
it
the title tag defines the title of your
HTML document which gets displayed and
the title bar of here
we're browser next add is a body tag the
actual content of your web page comes
under the body type so these are the
four tags which defines your HTML
document your very first tag is called
as HTML tag HTML tag defines the takes
which you have it which you have written
inside the tag is considered as HTML
document then we have the head tag in
the head tag we define the header
section of the document in the title tag
we give the title to the HTML document
and the body is the actual content of
your HTML document all this facts are
pair tag it means what we have to offer
starting the tag at the end of the
everything we need to close them all so
now we will say the basic structure of
your HTML document this is the basic
structure of your HTML document we start
with the HTML tag then the head tag then
the title tag here we give the title to
our web page then my hair tag gets
closed then body tag
in the open and close body tag we need
to define the actual content of our web
page and at the end of the everything we
close the HTML tag now while creating
the HTML document we will be using only
notepad in this session so how to start
creating HTML document click on notepad
then start writing your HTML document
after completion of your HTML document
save the file s name dot HTML after
storing it as name dot HTML when you
will double click on that file that file
will get open with the help of very
browser so let us see how to do it
practically after starting the notepad
now start writing your basic HTML tag
the first the tags which we have
discussed that tax only we will use HTML
head title let us give title my first
web page
you
titin close close HTML start body tag
and end body tag so this is your basic
structure of HTML webpage now whatever
you will write inside the body tag that
will get displayed on the web browser at
the end of the inner body tag we need to
close HTML tag as well after after
completing the page then we save our
page as dot HTML so save it as dot HTML
I am making a new folder
and I'm giving it as a name demo dot
HTML so now my file has got saved as day
more dot HTML now let us see how to open
the file
say this is how my file has got open now
the title which I killed my first web
page has got displayed in the title bar
of your web page and this is where you
will be defining your body section means
whatever you will be writing inside the
body section that will get displayed on
this particular part whereas the title
has got displayed in the title bar of
the web browser now let us start using
each and every tie each and every tag
practically now see again I have opened
the file using the notepad now whatever
the next text or next term sentences
which you want to add that you can add
into this particular notepad file now we
will see
now we will see the next step the next
stack is here formatting tags in the
formatting tags the first tag is B tag
so whatever we write inside the bay tag
that gets displayed in the bold format
now suppose if I want to display some
text and if I want to give the bold
effect to that then how to do that B
suppose my text is let us learn HTML /b
now this latest la HTML text will get
displayed in the bold format then we
have the next tag called as I tag I tag
is used to give the it elect effect
so whatever text you will write inside
the I tag that will display in the
italic font I let us learn HTML /i close
on now the latest learn HTML will get
displayed in the italic format next up
is a you tag you tag is used to give the
underline so if I want to display the
underline along with the text in it then
for that I use new tag let us give the
sentence underline
we can inclusive untap inside the other
tank for an example here in this
sentence I have used both the tags so
what I did is the first tag which I open
that was I tagged and then I opened the
you tag
so the package which got open last that
will get ended first so in this first
you will close you tag and after closing
the you tag then you are supposed to
close your I tag now again save the file
double click on the file now see this is
how your sentence will get displayed
this sentence I displayed in the bold
format so see it has got displayed in
the bold format and the second one has
got displayed with the hell with B both
the effect that is tallied also and the
underline also now let us see the next
tag the next tag is your P tag now P tag
is basically used to create a paragraph
HTML browser ignores any paragraph which
are created by placing in turn so you
can say HTML HTML doesn't understand the
Enter key so to create a paragraph we
have the special tag called SP tag with
the help of P tag we can create a
paragraph tag now in this example we saw
I have returned latest one HTML for
sentence in the first line and then
again the italic sentence I wrote in the
second line but while displaying in the
browser I got both these statements
displayed in the one line it means your
browser is not understanding the enter
so to go to the next line we use a tag
called as BR tag so wherever we have to
break the sentence at the end of that
sentence we need to mention BR tag now
suppose in this case if I want this both
the statements to get displayed on the
separate line then at the end of the
first statement I will write BR tag BR
save again open now see in the previous
section the in the previous attempt my
both the sentences got displayed on the
same line but here after using the br
tag now my both the sentences has
appeared in the separate line so br tag
is called as line break tag which is
used to break the line so that we can go
to the next line now your br tag is a
unpair tag or you can say you can call
it as non pare tag because br tag
doesn't have the ending tag br tag only
contains the start tag we don't tribe
slash BR we just write the start tag so
it is called as a non pare tag or
unpaired tag
now the next we will see what what is
the use of HR tag HR tag stands for the
horizontal line it is basically used to
divide your webpage into the different
different section and it is basically
used to it is basically used when for
the decorative purpose if you want to
divide your webpage into the various
section then for that we use a br tag so
to divide your pages into different
different sections we make a use of HR
tag HR tag stands for horizontal rule or
you can call it as what horizontal line
so let us see the use of HR tag
minimizing it and again I am opening the
same file with the help of notepad now
suppose after lettuce one HTML if I want
two horizontal line then for that after
br tag you can write HR tax or in this
case br tag is not needed since after
lettuce one HTML you will be getting a
horizontal line so automatically the
next sentence will come in the next line
so let us see how to do this I have
given a HR tag at the end of the
sentence so again my HR tag is called as
what unpair attack because it doesn't
contain a n type now save the file
sorry say I got the horizontal line so
it means my page has got divided into
the two sections here in the first
section I have displayed let us run in
the poll for that and in the second
section I have displayed letters one in
the italic and underlined format now the
next step is called as mark you type
whatever content we write inside the
market at that gets rolled over the
entire page for an example this market
tag is used to display the breaking news
or the current news or to flash the news
this mark to tag is basically used let
us say the use of the mark you tag
suppose if I want to roll this
particular sentence letters on HTML then
write that sentence inside then write
that sentence inside the mark you tag
as I said the tag which is open first
that good that gets ended last file then
then save see now your lettuce and HTML
has start rolling around the page so
this is the use of mark you tag thanks
for watching this video in the next
video we will be discussing the more
tags thank you
