Hello guys, I am Shahzad and welcome to lesson number four. For this we are going to discuss about the semantic elements in html5, you know very well that html5 were introduced some new elements or some new tags in html5. So you always write something like this. You are h1 and you are spam. You spend fools. This is this contact, okay.
Here is the span. If you write the day, you know very well this is a container you always use to create the container by using this tag. So your container here, okay? But, you know, because you are a developer, okay, if you write, like, another day, and you write something like this So, these are the links semantics make sure these are the non semantic tags how because these tags not defining its content, like if I write the table, table close Okay, now if you are writing tr here and tr close, and also inside the TR, you write the T like this. So this is the semantic element because it's defining its content. So a semantic element clearly describes meaning to both the browser and the developers.
So these tags like for that and your article. So these tags clearly define its content, like you you the footer code here. And if you are writing some articles, you can define your article score here. Yeah, so it's very simple and clear. So html5 semantic elements are supported all the modern browser. You can also teach your old browser how to handle unknown elements.
So if you open some website sites as you can see, this is zero calm. It's a website and if you right click and view page source, so now as you can see they are using the footer tag the footer tag HTML file provide this tag and also they are using the nav. So, this is the aside to show the sidebar as you can see, okay this is also a semantic element and I shall file html5 is providing this element and also they must have the nap okay they are using the nav and also they are using the header. So this is the header Let me clear. So, so this is the header and also this is the nav And this is the footer and this is a site. So similarly, you can also use your semantic elements in any html5 project.
So I think this is enough for today in the next lecture, we are going to cover some other topics. So thank you for watching.