1st Flashcards
An ID selector is declared using a _________________________ preceding a string of characters
hash(#)
These are styles that the web browser applies to the page to help display it
browser or user agent
These are style sheets created by the author, the user and the user agent or browser
author style sheets
If you use external stylesheets, you write all your css rules in a text file and save it with a .html extension
False
Selects elements based on name, class
simple selector
Matches a specified element that is the first child of another element
first-child pseudo-class
Used to define a special state of an element
pseudo-class selector
The process by which some CSS properties applied to one tag are passed on to nested tags
inheritance
Cascading refers to the fact that cumulative styles across multiple CSS rules are applied to each and every HTML tag
True
Ways of adding style sheets into your webpage
Inline Style Sheet
Internal Style Sheets
External Style Sheets
Recommended features of CSS Text Editor
Line numbers
Code formatting options
Multi-language support
Syntax highlighting
CSS inheritance refers to the relationship between HTML tags and how certain CSS styles can apply to a tag even though there aren’t any CSS rules directly applied to it
True
You have to repeat your style definitions in every webpage if you want to use a particular set of styles throughout your site
embedded
The simplest method of adding CSS styles to your web pages
Inline Style Sheet
Tells the web browser which element or elements on a webpage to style-like a headline, paragraph, image or link
selector