-3

Is there a html "tag" <card>? I have seen (a well working) one here.

However, I could not find <card> in any html documentation. Am I missing something?

Leonardo Dagnino
  • 2,914
  • 7
  • 28
bassman21
  • 320
  • 2
  • 11
  • With certain frameworks, `components`, as that link example appears to be, can be created for convenience. The same can be achieved with [HTML and CSS too](https://www.w3schools.com/howto/howto_css_cards.asp). – Paul T. Mar 13 '22 at 16:04
  • 1
    @PaulT. — [Custom Elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements), which are the part of the Web Components spec you are taking about, must have a hyphen in their name. `` is not a valid custom element name. It is just invalid. – Quentin Mar 13 '22 at 18:37

1 Answers1

-1

Hard to answer without html sample Could be just css style, like:

<card>
I'm the guy
</card>

css:

card {
font-size: 55px;
color: blue;
}

Fiddle sample https://jsfiddle.net/Precitools/f4hbqcmv/3/

Precitools
  • 19
  • 1
  • Not my downvote, but why not add a stack snippet example here on stackoverflow without the need for an external site? ... that's what the `<>` icon is for on the text editor toolbar. – Paul T. Mar 13 '22 at 20:59