CSS Introduction

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 34:- CSS Introduction

  1. Cascading Style Sheets (CSS) is a stylesheet language used for describing the look and formatting of a document written in HTML. CSS provides a way to separate the presentation of a web page from its content, making it easier to maintain and modify the style of a web page.

    Some key features of CSS include:

    1. Selectors: CSS uses selectors to target HTML elements and apply styles to them. For example, a class selector can be used to target elements with a specific class attribute, while an ID selector can be used to target elements with a specific ID attribute.
    2. Properties: CSS uses properties to specify the values of styles to be applied to elements. For example, the color property can be used to specify the text color of an element, while the background-color property can be used to specify the background color of an element.
    3. Rules: CSS uses rules to define the styles to be applied to elements. A rule consists of a selector and a set of properties and their values, separated by a curly brace. For example:

    cssCopy code

    h1 {  color: blue;  font-size: 36px; }

    1. Box Model: CSS uses the box model to determine the size and position of elements on a web page. The box model consists of content, padding, borders, and margins, each affecting the size and position of an element in different ways.

    CSS can be included in a web page in three ways:

    1. Inline styles: Inline styles are specified directly within an HTML element using the style attribute. For example:

    cssCopy code

    <p style="color: blue;">This is a blue paragraph.</p>

    1. Internal styles: Internal styles are specified within the <head> section of a web page using the <style> element. For example:

    phpCopy code

    <head>  <style>    h1 {      color: blue;      font-size: 36px;    }  </style> </head>

    1. External styles: External styles are specified in a separate .css file and linked to a web page using the <link> element within the <head> section of the web page. For example:

    bashCopy code

    <head>  <link rel="stylesheet" type="text/css" href="style.css"> </head>

5. Intro To CSS

Comments: 2

profile
@niteshguptav63
17-Nov-2024, 01:39 PM

I am not able to access videos from second class and further. I have already completed first class

profile
@niteshguptav63
16-Nov-2024, 10:56 AM

When will I get my course?

profile
@admin79
17-Nov-2024, 01:29 PM

Now, Your query was resolved.

Frequently Asked Questions (FAQs)

How do I register on Sciaku.com?
How can I enroll in a course on Sciaku.com?
Are there free courses available on Sciaku.com?
How do I purchase a paid course on Sciaku.com?
What payment methods are accepted on Sciaku.com?
How will I access the course content after purchasing a course?
How long do I have access to a purchased course on Sciaku.com?
How do I contact the admin for assistance or support?
Can I get a refund for a course I've purchased?
How does the admin grant access to a course after payment?