Does anyone knows what this selector is for? I tried to apllied rules to find out (smth like color: red; and so on...), but i seems it doenst change anything and i cant find something in the docs about it.
CodePudding user response:
This is related to the <code>
html tag. It will apply given style properties to this element.
Check W3C docu:
https://www.w3schools.com/tags/tag_code.asp
CodePudding user response:
The HTML code
element is used to represent code in browsers. It usually has a monospace font and some other stylings. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
For example:
<p>Did you know you can use a <code><span></code> element to style arbitrary text?</p>