Computer Science, asked by akshat2573, 1 year ago

what are tags and attributes??​

Answers

Answered by charlie1505
5

Answer:

An HTML tag is a special word or letter surrounded by angle brackets, < and >. You use tags to create HTML elements , such as paragraphs or links. Many elements have an opening tag and a closing tag

eg <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.

or

<img src=""> here img is the tag and src is attribute

Answered by aak5abhinav
1

Answer:

An HTML tag is a special word or letter surrounded by angle brackets, < and >. You use tags to create HTML elements , such as paragraphs or links. Many elements have an opening tag and a closing tag

eg <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.

or

<img src=""> here img is the tag and src is attribute

Similar questions