InterviewSolution
Saved Bookmarks
| 1. |
What are tags and attributes in HTML? |
|
Answer» Tags are the primary component of the HTML that defines how the content will be structured/ formatted, whereas Attributes are used ALONG with the HTML tags to define the characteristics of the element. For EXAMPLE, <p align=” center”>Interview questions</p>, in this the ‘align’ is the attribute USING which we will align the paragraph to SHOW in the center of the view. |
|