|
|
|
|
|
by on_
3910 days ago
|
|
Why is this downvoted? I am not a stickler for 100% compliance here, but look at the MDN[0] attribute list. They are all logical and semantic things and they are converted into objects. This comment is correct. They are additional values for configuring elenents. Html.getAttribute([emoji bolt]) is rediculous. Html.getAttribute()
I included the attribute above, it is not there however. While that is a HN feature, I am wondering what the response to the rebuttal to the above comment is? Do we want to start doing brand logos in markdown? <div [facebook icon]>friend me</div>
Edit: before anyone says it, I know amp is accepted as well. I guess the only thing reading that attr is googlebot, but I just find it really offputting.https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes |
|