How are elements and attributes related to each other?
Answers
Answered by
0
Hi. HTML tags having both an opening and closing tags are called elements or closed tags. Attributes are codes used to alter the functioning of a particular HTML tag. For example, the heading 1 tag has font-color black by default. If we want blue color in h1 tag, we will use the style attribute of the h1 tag and use the color:blue property of the style attribute to make its font-color blue. Hope it helps!
Answered by
0
Explanation:
Please see the photo Hope it helps you a lot
Attachments:
Similar questions