HTML attribute
Në shqip: Atribut HTML
ShpjegimiSQ
Atributi është një informacion shtesë brenda etiketës hapëse, në formën emri="vlera" — p.sh. href te lidhjet, src dhe alt te fotot, class dhe id për stilim. Ai e plotëson ose e ndryshon sjelljen e elementit.
EnglishEN
An attribute is extra information inside an opening tag, written as name="value" — like href on links, src and alt on images, class and id for styling. It adds to or changes how the element behaves.
Si ta mendosh
Si etiketa në një produkt në dyqan: produkti është po ai, por etiketa shton detaje — çmimin, madhësinë, ngjyrën.
Lexoje në anglisht
Like the label on a product in a shop: the product's the same, but the label adds details — price, size, colour.
Shembull kodihtml
<a href="https://fjalori.dev" target="_blank">Fjalori</a>
<img src="logo.png" alt="Logoja e faqes">