Computer Science, asked by hrshita49, 3 months ago

give two examples of tag attributes in HTML with sample code​

Answers

Answered by chotukhan89855
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 Anonymous
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