Attributes
Attributes contain additional information and can be used to customize the element or provide additional functionalities.
Working with the example of an h1
element from the previous chapter, we have added a class
attribute followed by an equal sign and its value.
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 3
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 3.45
Attributes
Sveip for å vise menyen
Attributes contain additional information and can be used to customize the element or provide additional functionalities.
Working with the example of an h1
element from the previous chapter, we have added a class
attribute followed by an equal sign and its value.
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 3