Computer Science, asked by PragyaTbia, 11 months ago

Explain Tag and attribute.

Answers

Answered by 1Angel24
1
Hey mate here is your answer》》

We used them so far in their simplest form, but most of the HTML tags can also have attributes, which are extra bits of information. An attribute is used to define the characteristics of an HTML element and is placed inside the element's opening tag.

Hope this answer will help you..《《
Answered by gratefuljarette
2

Answer:

Tags are predefined or some reserved words used in HTML i.e.  Hypertext markup language which denoted the start or end of any HTML document or any HTML commands whereas attributes are the properties or characteristics associated with the tags inside the HTML source code. Examples of tags are as follows: <br>, <head>, <body>, <title>, <hr>, <html>, <form>, <img>, <input> etc. Examples of attributes are as follows: border, height, width, src, sized, alt, align etc.

Similar questions