give two examples of tag attributes in HTML with sample code
Answers
Answered by
0
Answer:
Chapter Summary. All HTML elements can have attributes. 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
Answered by
11
HTML - Attributes
- The name is the property you want to set. For example, the paragraph <p> element in the example carries an attribute whose name is align, which you can use to indicate the alignment of paragraph on the page.
- The value is what you want the value of the property to be set and always put within quotations....
Similar questions
Math,
1 month ago
English,
1 month ago
Math,
3 months ago
Math,
9 months ago
Social Sciences,
9 months ago