Reputation: 4917
I'm trying to figure out HTML styling.
(I'm new to HTML (via shiny in RStudio), so bear with me. )
I get the general setup (i.e., style = “property:value;”
), but where/how do I actually find the list of possible property names to assign/edit?
In other words, how do I know what the potential properties are?
Upvotes: 1
Views: 52
Reputation: 9043
Quality + thoughtful markup is key to writing sensible style rules.
Ensure you write semantic markup - and you'll have much better time targeting the elements with CSS. These are two lists of EVERYTHING. : )
https://developer.mozilla.org/en-US/docs/Web/HTML/Element
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference
I should also add: https://caniuse.com to cross reference browser support of any given newfangled css property.
Upvotes: 4