Categories
HTML

Classes in Html

In this chapter we learn about the CLASSES IN HTML.

Basically Classes are helpfull in building a webpage it helps us in customizing different html elements.

So, a single class is used like we say if have 4 heading in my web page and i want three of them to be customized (font, size, color, weight) i use a class for these three elements and apply css. Instead of customizing one by one each element. And class is css is called by DOT (.) .

Class is assigned to element of html for customization

Leave a Reply

Your email address will not be published. Required fields are marked *