+ 1

I CAN'T UNDERSTAND ATTRIBUTES

Please help me

1st Nov 2020, 6:08 PM
Shravan
Shravan - avatar
3 Answers
+ 5
Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value; the value modifies the attribute. Attributes are always specified in the start tag, and they appear in name="value" pairs. Hope I helped you 😄 See this for more: https://www.sololearn.com/learn/HTML/1029/
1st Nov 2020, 6:12 PM
Matthew
Matthew - avatar
+ 3
All HTML elements can have attributes Attributes provide additional information about elements Attributes are always specified in the start tag Attributes usually come in name/value pairs like: name="value" The href attribute of <a> specifies the URL of the page the link goes to The src attribute of <img> specifies the path to the image to be displayed The width and height attributes of <img> provide size information for images The alt attribute of <img> provides an alternate text for an image The style attribute is used to add styles to an element, such as color, font, size, and more The lang attribute of the <html> tag declares the language of the Web page The title attribute defines some extra information about an element https://www.w3schools.com/html/html_attributes.asp https://www.sololearn.com/learn/HTML/1029/
1st Nov 2020, 7:51 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar