CSS (Nivelele 1 SI 2)

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Laurentiu_lambri
L
Laurentiu_lambri
Community Contributor
Quizzes Created: 6 | Total Attempts: 9,195
Questions: 9 | Attempts: 198

SettingsSettingsSettings
CSS Quizzes & Trivia

Fisa de lucru pentru fixarea cunostintelor la lectia utilizarea CSS


Questions and Answers
  • 1. 

    Ce inseamna CSS ?

    • A.

      Cascading Style Sheets

    • B.

      Combat Service Support

    • C.

      Central Support Services

    • D.

      Content Scrambling System

    Correct Answer
    A. Cascading Style Sheets
    Explanation
    CSS stands for Cascading Style Sheets. It is a style sheet language used for describing the look and formatting of a document written in HTML. It is used to separate the content of a webpage from its presentation, allowing web designers to control the layout, colors, fonts, and other visual aspects of a website. CSS provides a more efficient and flexible way to style web pages compared to inline styling or using HTML attributes.

    Rate this question:

  • 2. 

    Pe cate niveluri poate fi utilizat CSS in paginile WEB ?

    • A.

      2

    • B.

      3

    • C.

      1

    • D.

      4

    Correct Answer
    B. 3
    Explanation
    CSS can be used on multiple levels in web pages. The correct answer is 3 because CSS can be applied at three different levels: inline, internal, and external. Inline CSS is applied directly to individual HTML elements using the "style" attribute. Internal CSS is defined within the "head" section of an HTML document using the "style" tag. External CSS is defined in a separate CSS file and linked to the HTML document using the "link" tag. These three levels provide flexibility and allow for efficient management of styles across multiple pages.

    Rate this question:

  • 3. 

    CSS poate fi folosit fara HTML

    • A.

      Adevarat

    • B.

      Fals

    Correct Answer
    B. Fals
    Explanation
    CSS (Cascading Style Sheets) is a styling language used to describe the look and formatting of a document written in HTML. It cannot be used without HTML because CSS is applied to HTML elements to define their appearance. Without HTML, there would be no structure or content for CSS to style. Therefore, the statement "CSS poate fi folosit fara HTML" (CSS can be used without HTML) is false.

    Rate this question:

  • 4. 

    Utilizarea CSS inline se face:

    • A.

      Cu ajutorul tagului STYLE, in zona HEAD

    • B.

      CSS nu se poate utiliza inline

    • C.

      Cu ajutorul atributului STYLE, atasat oricarui tag

    • D.

      Cu ajutorul atributului HREF

    Correct Answer
    C. Cu ajutorul atributului STYLE, atasat oricarui tag
    Explanation
    CSS inline se face cu ajutorul atributului STYLE, care poate fi atașat oricărui tag HTML. Acest atribut permite specificarea stilurilor CSS direct în interiorul tagului respectiv, în loc să fie definite într-un fișier separat sau în zona HEAD a documentului HTML. Astfel, stilurile CSS inline au prioritate mai mare decât cele definite într-un fișier extern sau în zona HEAD, ceea ce le permite să suprascrie alte stiluri.

    Rate this question:

  • 5. 

    Unde, intr-un document HTML, se plaseaza codul necesar utilizarii CSS intern (embeded)?

    • A.

      In fiecare tag, unde e necesar

    • B.

      Intre HEAD si BODY

    • C.

      La sfarsitul documentului

    • D.

      In zona HEAD

    Correct Answer
    D. In zona HEAD
    Explanation
    The correct answer is "In zona HEAD". In an HTML document, the CSS code necessary for internal use is placed within the HEAD section. This is where meta information and other document-related elements are typically included. By placing the CSS code in the HEAD section, it ensures that the styles are loaded and applied before the content in the BODY section is rendered, allowing for consistent styling throughout the document.

    Rate this question:

  • 6. 

    Care sintaxa CSS este corecta ? 

    • A.

      {body;color:black}

    • B.

      {body:color=black(body}

    • C.

      body:color=black

    • D.

      Body {color: black}

    Correct Answer
    D. Body {color: black}
    Explanation
    The correct answer is "body {color: black}". This is the correct syntax for applying the CSS property "color" with the value "black" to the "body" element. The selector "body" targets the body element, and the declaration "color: black" sets the text color to black.

    Rate this question:

  • 7. 

    Cum adaugati o culoare de fundal elementelor h1 ?

    • A.

      All.h1 {background-color:#FFFFFF}

    • B.

      H1.all {background-color:#FFFFFF}

    • C.

      H1 {background-color:#FFFFFF}

    Correct Answer
    C. H1 {background-color:#FFFFFF}
    Explanation
    The correct answer is "h1 {background-color:#FFFFFF}". This CSS rule sets the background color of the h1 elements to white (#FFFFFF). The other options, "all.h1" and "h1.all", are not valid CSS selectors and will not apply the background color to the h1 elements.

    Rate this question:

  • 8. 

    Cum stabiliti culoarea rosie pentru un element, in CSS ?

    • A.

      Text-color: #ff0000

    • B.

      Color: #ff0000

    • C.

      Text-color=red

    • D.

      Font-color: red

    Correct Answer
    B. Color: #ff0000
    Explanation
    The correct answer is "color: #ff0000". In CSS, the "color" property is used to set the color of the text content within an element. The value "#ff0000" represents the color red in hexadecimal format. Therefore, by using the "color" property and specifying the value "#ff0000", the text within the element will be displayed in red.

    Rate this question:

  • 9. 

    Care sintaxa va fi utilizata, daca se doreste schimbarea fontului unui element ?

    • A.

      Fon-face:

    • B.

      Font-family:

    • C.

      F:

    • D.

      Font-style:

    Correct Answer
    B. Font-family:
    Explanation
    The correct answer is "font-family". This property is used to specify the font or list of fonts for an element. By using the "font-family" property, we can change the font of an element to a desired font.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 18, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 17, 2010
    Quiz Created by
    Laurentiu_lambri
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.