1/17
A set of vocabulary flashcards covering basic CSS concepts, syntax, types of CSS, browser rendering steps, common properties, and advantages and disadvantages.
CSS (Cascading Style Sheets)
A style sheet language used to describe the appearance and presentation of HTML documents, controlling design aspects such as colors, fonts, background, spacing, borders, alignment, and layouts while separating content from design.
Selector (CSS Basic Syntax)
The component of a CSS rule that identifies the specific HTML element to be styled, such as an h1 heading.
Property (CSS Basic Syntax)
The specific style feature or attribute of an HTML element to be styled, such as color or font-size.
Value (CSS Basic Syntax)
The specific setting assigned to a CSS property, such as Blue or 20px.
Inline CSS
A method of applying CSS directly to an individual HTML element using the style attribute, affecting only the specific element where it is applied.
Internal CSS
A method of applying CSS written inside the
External CSS
A method of applying CSS written in a separate file with a .css extension and connected to HTML using the tag, useful for applying identical styles to multiple webpages.
Browser CSS Rendering Process
The sequence in which a browser loads an HTML document, reads CSS rules from the stylesheet, uses CSS selectors to identify HTML elements, applies the specified styles, and calculates the final layout to render the webpage.
background-color
A CSS property used to change the background of a webpage.
color
A CSS property used to change the text color.
text-align
A CSS property used to set the alignment of text, such as aligning a paragraph in the center.
font-size
A CSS property used to control and change the size of text in headings and paragraphs.
Time Saving
An advantage of CSS where a single stylesheet can control multiple webpages, saving a significant amount of time.
Consistency
An advantage of CSS that maintains a uniform appearance throughout an entire website.
Easy Maintenance
An advantage of CSS allowing design changes to be executed without modifying every individual HTML page.
Browser Compatibility
A disadvantage of CSS where certain CSS properties may behave differently across various web browsers.
Complexity
A disadvantage of CSS where large stylesheets can become difficult to manage.
Debugging
A disadvantage of CSS referring to the difficulty that can sometimes arise when finding errors in stylesheets.