Hello guys I am Shahzad and welcome to lesson number six. Today's we are going to cover some style guides How can you write your code what is the way of writing clean code? So, as you can see, this is the tag you can also use like this section and your section shows but this is the bad idea. You can also use the section like this okay and you can also use the section like this. So which way is better? You have to use the small letters, okay.
So do not use these kind of stuff. You have to close all the tabs you know very well. If you have some special tag like meta and character character set equals to UTF ah you know very well that you don't need to close this like meta, but you have to use the close sign like this. If you have the image SRC and have to use this one. We have discussed that you have to use the lower test by creating any class or ID you can also use like this ID my ID My ID, but you cannot use your attributes like this ID equals to my ID you always use the lower trap lower case like my ID if you are writing something like this table and you are using a particular class and you are saying str, space str, so, both are the separate things. So, this is one class and this is another class, if you are using two classes or more than two classes, then you have to use this space.
Otherwise if you are thinking that these two words are the same. So this will not work for you because the value contained press and you have to use the single or double quotation according to SEO if you are using the image and you are saying that oh I have close the image source here or one dot JPG that means okay fine in bird you have to use the alt tag make sure I'll take attributes is important when the image for some reason cannot be displayed like if you have this image and as you can see we are using we are using the alt tag if you are not providing the link so as you can see, it's now showing the selfie stick can see this is the arm if you are saying shake z logo. So, this is very clear because now we are not using okay?
Take this No, okay, fine, it's working fine. So it says the logo. So, if the image for some reason cannot be displayed, you can show your altech which describe the image or the broken image okay if you are using your class like this, this is very bad you have to use the class or the attributes. Similarly, so this is the attribute and you have to use equals two and the single collision. So, these are the some basics user guide or the style guide to write your clean code. Thank you watching