Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
02. HTML Elements & Tags || Web Development Course
Ahmad Alam
Follow
7 months ago
Category
📚
Learning
Transcript
Display full video transcript
00:00
Now, let's talk about any website, if I want to display some information, how do I display it?
00:05
In HTML, there are things called elements.
00:08
If I tell you that there will be a paragraph on my website,
00:12
or an image, or a heading, then we create HTML elements.
00:18
HTML elements are standard elements that our browser knows.
00:22
I mean, Chrome knows what is going to be in HTML, what is going to be heading.
00:28
Or, if I try to create an image, then what is going to be in HTML?
00:32
Usually, we use these elements to show HTML tags.
00:36
If I talk about paragraph, I write a paragraph in HTML, I write a p and write a slash with the ending.
00:47
And it comes in angular brackets.
00:50
I mean, less than or greater than sign, if I write a p,
00:55
And here, this will start and this will end.
00:58
Now, in the tags, whatever I write, I have written a b, c, d.
01:02
This is a paragraph on my website.
01:05
If I show my heading on my website, then I can write this for this.
01:10
Let me show my heading on H1 level.
01:12
There are also 6 different levels.
01:14
If I show my heading on H1 level, then I will write H1.
01:19
And inside, I will write any heading on my website.
01:25
So, if I create different elements, then I have to use different HTML tags.
01:32
And these tags work is to design my website structure.
01:36
So, here, we have to remember the basic thing.
01:38
If I have to display something on my website, I have to display something on my website.
01:42
So, for that, we need elements.
01:44
And different different elements to create in HTML, we use our HTML tags.
01:49
So, in detail, let's talk about HTML tags.
01:52
We can understand an HTML tag as a container.
01:56
I mean, any content, any thing, any text, if I want to display it on a website,
02:01
So, to contain it, we need to have a container.
02:04
And we call this container.
02:06
We call this container.
02:07
Let's take a simple paragraph tag example.
02:09
We write the paragraph tag in this way.
02:12
In the beginning, we call it the opening tag.
02:16
And we call it the closing tag.
02:20
So, in the beginning, we call it the P.
02:22
It means the paragraph in HTML.
02:25
And again, we call it the closing tag.
02:28
But here, there is a slash.
02:29
It shows that this tag is finished here.
02:32
And in these tags, whatever thing comes, we call it our content.
02:37
That is, the material inside, the content.
02:41
This is a paragraph.
02:42
It is going to be displayed on my website.
02:44
And this opening tag, content and closing tag,
02:47
we call it the combination of a HTML element.
02:50
So, there is a very simple hierarchy.
02:52
There are HTML tags.
02:53
One is my opening tag, one is my closing tag.
02:56
And then, there is our HTML content.
02:58
And when we get the tags and content,
03:01
we call it a HTML element.
03:03
Now, as I will write this thing on my web browser,
03:07
in my HTML document,
03:09
I will create a whole web page.
03:12
In which, in a paragraph form,
03:15
this is a paragraph line will be displayed.
03:18
In this way, we think that I have to show a heading on my web page.
03:22
So, to show a heading,
03:23
if I want to show a heading,
03:25
I will show a heading on the opening tag.
03:28
And I will show a closing tag.
03:30
And in this tag, whatever material has to come,
03:32
I will write heading large.
03:35
So, whatever I have written inside,
03:37
this will be displayed on my web page.
03:41
So, if I want to show a word bold,
03:43
I want to show a highlight,
03:45
then we use the bold tag.
03:48
So, this will be my opening tag tag,
03:50
this will be my closing tag tag.
03:52
And under what I will write,
03:54
I will write bold word.
03:56
So, when it will display on my website,
03:58
it will display bold.
04:00
So, if I want to show a word underline,
04:03
then I can show a tag underline tag.
04:05
If I want to show a word italic tag,
04:07
then I can add italics tag.
04:09
So, in HTML, there are many multiple tags.
04:13
I don't need to remember these tags.
04:15
These are so simple tags,
04:17
so intuitive tags.
04:18
And we will use them so many times,
04:20
that we will automatically remember them.
04:22
But simply, we need to understand
04:24
that an HTML tag is opening, closing,
04:26
and within all our content.
Be the first to comment
Add your comment
Recommended
0:54
|
Up next
barbarosapromo-ep42to45-latestattractions in urdu thriller trailer
Ahmad Alam
5 months ago
0:58
Barbarosa new thriller trailer in urdu of ep 89-92 in ptv home
Ahmad Alam
5 months ago
0:13
what a funny moment of usman ahmad editz ||kurlus osman
Ahmad Alam
7 months ago
4:43
01. Introduction to HTML "" web development course
Ahmad Alam
7 months ago
6:02
01. Prerequisites in web devlopment course
Ahmad Alam
7 months ago
1:52
04. What will we learn || in web development or in this course
Ahmad Alam
7 months ago
9:37
03. What is Web Development
Ahmad Alam
8 months ago
11:10
02. What is the Internet in web development || full course
Ahmad Alam
8 months ago
9:25
01. Welcome to Delta!
Ahmad Alam
8 months ago
2:15
99 Names of Allah|| asam ul hasna || #asma ul hasana
Ahmad Alam
8 months ago
11:56
Phrasal Verbs
Ahmad Alam
8 months ago
8:28
Peshawar Vs Islamabad || PSL MATCH 2025|| FULL HIGHLIGHT||#PSL
Ahmad Alam
8 months ago
11:02
PAKISTAN VS NEW ZEALAND || HIGH CHASEOF 337|| FAKHAR BLAST 180
Ahmad Alam
8 months ago
2:40
CHAMPION TROPHY||017||PAKISTAN VS INDIA || SHORT FILM
Ahmad Alam
8 months ago
1:00:57
All Tenses in 1 Hour __ Tense in English Grammar __ Present tense, Past tense and Future tense (720p60fps)
Ahmad Alam
8 months ago
24:59
Raid Movie clip|| Indian Movie
Ahmad Alam
8 months ago
0:26
Tariq Jameel Sahab Bayan
Ahmad Alam
8 months ago
3:10
99 Names of Allah Almighty|| Asma -ul-hasna
Ahmad Alam
8 months ago
5:35
PAKISTAN VS NEW ZEALAND || HIGH CHASEOF 337|| FAKHAR BLAST 180
Ahmad Alam
8 months ago
0:51
Former Aide Claims She Was Asked to Make a ‘Hit List’ For Trump
Veuer
2 years ago
1:08
Musk’s X Is ‘the Platform With the Largest Ratio of Misinformation or Disinformation’ Amongst All Social Media Platforms
Veuer
2 years ago
4:50
59 companies that are changing the world: From Tesla to Chobani
Fortune
2 years ago
0:46
3 Things to Know About Coco Gauff's Parents
People
2 years ago
0:35
8 Things to Do in the Morning to Improve Productivity
Martha Stewart Living
2 years ago
1:18
USC vs. Colorado: Can Caleb Williams Earn a New Heisman Moment?
SportsGrid
2 years ago
Be the first to comment