• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

CSS Questions and Answers Latest

Document preview thumbnail
Preview 1 out of 4 pages

CSS Cascading Style Sheets control the appearance and placement of HTML elements on a page. selector The part of a CSS rule which specifies which element(s) are to be styled. declaration Property name and value separated by a colon and terminated with a semicolon, for example... Font-family: sans serif; property The part of a CSS rule which specifies WHICH TYPE of modification to apply to HTML elements. value The part of the CSS rule which specifies HOW the property/attribute will be modified ID Selector A selector that identifies only ONE element within an HTML document. Preceded by a # sign. Class Selector A selector that applies the same attribute to MULTIPLE HTML elements that reference it. Preceded by a . (period). Syntax Arrangement of words and symbols in a language. Inline CSS Style CSS coded IN THE BODY of the HTML code as a STYLE ATTRIBUTE h1 style="color:black;" in an HTML tag. Limited to styling one element at a time. Internal CSS Style CSS coded in the HEAD of the HTML code inside of style/style tags. Limited to that one HTML page. (also known as embedded)External Style Sheet CSS coded in a SEPARATE CSS FILE that controls the formatting of elements on any web page that links to the .css file. Rule A complete CSS style statement: selector, property, and value. Properties REQUIRED to make a border Style is required (width and color are optional) Property used to change the color of text Color Property used to fill a div or change the color behind your content Background-color Property used to make your text italic font-style Property used to make your text have Small Caps font-variant Property used to make your text bold font-weight Property used to make your text bigger/smaller font-size Property used to select the style/type of your font font-family Serif Font-family with decorative edges Sans-Serif Font-family without decorative edges Margin The space around an element, separating it from other elements Padding The space inside of an element, separating its contents from its outer edge


Document information

Uploaded on
May 8, 2024
Number of pages
4
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$9.39

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
518
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.