+ 4

Can anyone tell me that what's the difference between attribute and value

9th Nov 2018, 10:06 AM
MasterAmol
MasterAmol - avatar
5 odpowiedzi
+ 5
For example There are many attributes of element image Including src, width, height. Therefore these are attributes. But what you are going to fill in these attributes is the value eg: <img height="100" width="100"> Conclusion : Elements contain attributes and attributes contain values. Hope you got your answer . Thanks.
9th Nov 2018, 10:39 AM
Shubham Rawat
Shubham Rawat - avatar
+ 2
Thanks dude
10th Nov 2018, 6:49 AM
MasterAmol
MasterAmol - avatar
+ 2
Attributes provide extra information about tags and elements. Values are inputs which modify the attributes.
3rd Mar 2019, 9:26 PM
Super Gangster
Super Gangster - avatar
+ 1
Falling in love with all this
5th Dec 2018, 5:07 PM
Victor Kyalo
+ 1
Yh, attributes are the arrangements you need to make or adjustment, then the values are the input for your attributes let's say for example <img src: "table.jpeg" width: "50%" height: "70%"></img> the src, height and width are attributes while table.jpeg, 50% and 70% are their values
15th Feb 2019, 12:22 AM
VICTOR OGWUMIKE
VICTOR OGWUMIKE - avatar