Published December 30, 2019
The Answer is C.
CSS, which stands for Cascading Style Sheets, is a style sheet language used to define the look and feel of your web pages.
With CSS, you can alter font size, colors, line height, padding, incorporate columns and animations, and more.
CSS is controlled in a file which typically ends in .css and is usually attached in the <head> of your web page. CSS consists of a rule set made up of a selector, properties, property value, and declaration.
The selector is exactly that. It selects which element should be styled. In the case above, we're styling the paragraph tag, which is the p tag.
The property is what you want to style for your element, whether it's font size, color, family, etc. In the above example, we are targeting the font size property. Here's a handy list of common CSS properties.
The property value is the value you attribute to the property. In the example above, we're setting the font size to 18px.
And finally, the declaration is the entire rule within the set. You can have multiple declarations within a rule set, like the example above.
With CSS, you can target multiple selectors with a single rule set. You can also apply CSS styles inline within the HTML tags.
Subscribe to the 'Inbound & Down' Question of the Day
Sign up to receive a new inbound multiple choice question delivered to your inbox every morning.
Explore more inbound learning on the 'Inbound & Down' Podcast.