Computer Science, asked by Anonymousv, 1 year ago

What is the use of tag in html code. Write any two attributes used with this tag

Answers

Answered by harshbardhan78
9
Different tags are used to write codes to create any html program or web page.
Different tags has different uses in html page.
Ex:- Html tag, Body tag, table tag, hr tage, br tag etc...
There are many tags in html and all have different functions.
Two attributes used in bg tag are:-
1. color
2.Text
HOPE IT WILL HELP YOU...

Anonymousv: Thanks.! It helped me.
Answered by steffis
3

Explanation:

'HTML tags' are the invisible keywords in a web page which specifies how the web browser to be formatted and present the content. Most tags must have two parts, an opening, and a closing part.  

The attributes allow the user to customize a tag and are defined within the opening tag.  

The <img>  is an HTML tag that is used for inserting an image in the web page. src attribute of this tag is to specify the image file name, and alt attribute is mandatory, which mentions a substitute text for an image.

Similar questions