Exam Categories
60 +Daily Live Classes
1.5k +Mins. Watched
3.2B +Educators
14k +Video lessons
1M +CSS stands for Cascading Style Sheets. It is used to style and layout HTML elements on a web page. CSS controls the visual presentation, such as colors, fonts, margins, and positioning.
Inline CSS: Styles are applied directly within an HTML element using the style attribute. Internal CSS: Styles are defined within the < style > tag inside the < head > section of the HTML document. External CSS: Styles are defined in a separate .css file, which is linked to the HTML document using a < link > tag.
CSS selectors are patterns used to select and style specific HTML elements. Examples include element selectors (h1), class selectors (.class-name), ID selectors (#id-name), and attribute selectors ([type="text"]).
The CSS Box Model represents how elements are structured in terms of space on a webpage. It includes: Content: The actual content inside the box (text, image, etc.). Padding: Space between the content and the border. Border: The line surrounding the padding (and content). Margin: Space outside the border, separating the element from others.
Class: A class can be used multiple times on a page and is selected with a . (dot), like .my-class. ID: An ID should be unique on a page and is selected with a # (hash), like #my-id.
Public notice from the team
Let's build the future of education together
Come,join us and together we can transform the way india learners
Please fill the form below to reach us