100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Quiz 06 Introduction to CSS Questions and Answers

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
24-11-2024
Written in
2024/2025

Quiz 06 Introduction to CSS Questions and Answers The key to understanding how CSS works is to imagine that there is an invisible box around every HTML element. True A CSS rule contains two parts: a ________ and a ________. selector declaration CSS declarations sit inside curly brackets and each is made up of two parts: a _________ and a _________, separated by a colon. property value Using the <link> element and linking in a separate CSS stylesheet to your HTML page is using what type of CSS call? External CSS Including CSS rules within an HTML document using the <style> element is what type of CSS call? Internal (or Embedded) CSS Using the style attribute (ie <p style="color:red;">) is a satisfactory way to add CSS to your HTML on a new site. (Note: this is mentioned in the last paragraph of Internal CSS.) True Which of the following is an ID Selector in CSS? #top Which of the following is a CLASS selector in CSS? .note Which of the following is an HTML (or TYPE) selector in CSS? h1 Which of the following is a Universal selector in CSS? * You can style an element based on its nested qualities (which is explained in family relations: parent, child, ie). This method is commonly referred to as a descendant selector. True It does not matter what order you write your CSS rules. They will never override each other if you place styles on the same element. False You have to be mindful of the inheritance of some CSS properties. Some of them, like the font-family property, inherit. This means that the child elements of the element you styled will carry that style too. Other CSS properties, like background-color, do not inherit. So the property only affects (styles) the element you applied the rule to. True (?)

Show more Read less
Institution
PCSS
Course
PCSS








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

Written for

Institution
PCSS
Course
PCSS

Document information

Uploaded on
November 24, 2024
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Quiz 06 Introduction to CSS Questions
and Answers
The key to understanding how CSS works is to imagine that there is an invisible box
around every HTML element. - answer True

A CSS rule contains two parts: a ________ and a ________. - answer selector
declaration

CSS declarations sit inside curly brackets and each is made up of two parts: a
_________ and a _________, separated by a colon. - answer property
value

Using the <link> element and linking in a separate CSS stylesheet to your HTML page
is using what type of CSS call? - answer External CSS

Including CSS rules within an HTML document using the <style> element is what type
of CSS call? - answer Internal (or Embedded) CSS

Using the style attribute (ie <p style="color:red;">) is a satisfactory way to add CSS to
your HTML on a new site.

(Note: this is mentioned in the last paragraph of Internal CSS.) - answer True

Which of the following is an ID Selector in CSS? - answer #top

Which of the following is a CLASS selector in CSS? - answer .note

Which of the following is an HTML (or TYPE) selector in CSS? - answer h1

Which of the following is a Universal selector in CSS? - answer *

You can style an element based on its nested qualities (which is explained in family
relations: parent, child, ie). This method is commonly referred to as a descendant
selector. - answer True

It does not matter what order you write your CSS rules. They will never override each
other if you place styles on the same element. - answer False

You have to be mindful of the inheritance of some CSS properties. Some of them, like
the font-family property, inherit. This means that the child elements of the element you
styled will carry that style too. Other CSS properties, like background-color, do not

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Pogba119 Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
48
Member since
1 year
Number of followers
2
Documents
4946
Last sold
1 month ago
NURSING TEST

BEST EDUCATIONAL RESOURCES FOR STUDENTS

3.9

9 reviews

5
4
4
2
3
2
2
0
1
1

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

Frequently asked questions