HTML tags can have attributes and attributes are written with tag. Attributes are written in a name="value" pair. See the example below:
<img src="w3schools.jpg" width="104" height="142">
In the example above the src is an attribute, the width is an attribute and the height is also an attribute.
<img src="w3schools.jpg" width="104" height="142">
In the example above the src is an attribute, the width is an attribute and the height is also an attribute.
No comments:
Post a Comment