-1

I am studying HTML and CSS standard to know possible API on Web programming, so tried to find the standard document. I found all possible HTML tag, CSS elements, and CSS properties. After had been reading that, I have got three confusing things about HTML and CSS standard concepts.

  1. I don't think all HTML tag support same CSS elements and properties, so I want to know all possible CSS elements and properties per each HTML tag, especially for pseudo elements and classes, because it's not written on HTML file. For example, When I want to change summary style, I can use the elements like hover or -webkit-details-marker, and properties like color. I only know some classes and properties that I saw in other people's code. However, I want to find all the possible elements and properties list documentation for summary tag.

  2. I saw the element hover at CSS elements, but can find the -webkit-details-marker element at that link. -webkit-details-marker was found at study blog(not the standard documentation). Why does -webkit-details-marker not exist in CSS elements list? Is -webkit-details-marker not the standard element?

  3. -webkit properties are not found at CSS properties, but MDN web doc says some part of -webkit properties is standard. I couldn't know why standard -webkit properties are not listed in CSS properties. As I know, w3schools list standard HTML and CSS references.

Could you give me any idea? Thank you.

Mr.choi
  • 501
  • 2
  • 5
  • 17
  • 1
    Much of your question makes little sense, could you clarify what you're asking? What I can help with is -webkit prefixed css rules are [vendor prefixes](https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Prefix). – Sam F Mar 18 '19 at 15:43
  • 1
    Well w3school is just some site with tutorials and not linked to actual css specs site. You could read thru https://www.w3.org/Style/CSS/specs.en.html but it will be less helpful than you think. It is best to start coding and learn step by step, coding is done best when you use it to learn. – Huangism Mar 18 '19 at 15:49
  • @Sam F Your advice about vendor prefixs is helpful to me. Also, I changed the title to clarify my question. Thank you. – Mr.choi Mar 19 '19 at 04:06
  • @Huangism I understand what I missed.. I appreciate your reply. By any chance, Could you let me know the accutal css spec link? – Mr.choi Mar 19 '19 at 04:11
  • It's in the link I have above, the w3.org site is the proper site for all css specs – Huangism Mar 19 '19 at 13:15

1 Answers1

1

This site has more info and resources about working with this tag, browser support, and build resources: https://caniuse.com/#feat=details. It may give you some more paths of research.

If you're more concerned about styling, try this answer page.