card tag
richardschneider opened this issue · 2 comments
richardschneider commented
Creating a new HTML element, as in <card>
is considered bad practice. Using side-by-side <card />
is parsed incorrectly. Basically HTML ignores the "/>", unless it's a predefined void tag. The following does not work
<div> <card cid='AS'/> <card cid='KS'/> </div>
richardschneider commented
We could use the image tag, as in <img cid='AS' />
. <img>
is a void tag and it takes less to type!
richardschneider commented
Changed css, js and documentation to use <img>
instead of <card>
.