Skip to content

[CSS: Basics] Inline, Internal, External Styles & Cascading Order — Documentation #81

Description

@ajay-dhangar

This sub-issue focuses on creating clear, beginner-friendly documentation for the Basics section of the CSS tutorial series.
The goal is to explain how CSS can be applied to HTML using different methods and how the cascading order influences the final output in the browser.

This issue corresponds to the following files:

basics
├── inline.mdx
├── internal.mdx
├── external.mdx
└── cascading-order.mdx

Each MDX file should include:

  • Concept explanation
  • Why it’s used
  • Code examples (HTML + CSS)
  • Best practices
  • Common mistakes
  • Visual explanation (optional diagrams)

Tasks

  • Write documentation for inline CSS
  • Write documentation for internal CSS
  • Write documentation for external CSS
  • Write documentation for cascading order
  • Add examples demonstrating conflicts & browser decision flow
  • Include simple diagrams or illustrated explanations (optional)
  • Provide SEO-friendly descriptions where needed
  • Ensure MDX formatting works inside the Docusaurus environment
  • Add links to related sections (Selectors, Syntax, etc.)

💡 Suggested Structure for Each File

  • Overview
  • When to use
  • Syntax
  • Code example
  • Pros / Cons
  • Best practices
  • Common mistakes
  • Related topics link

Expected Outcome

A well-structured, polished set of MDX files representing the foundational CSS application methods, helping beginners understand how CSS connects to HTML and how the cascade works before moving into deeper topics.

Activity

  1. added this to the CSS Docs milestone on Nov 14, 2025
  2. self-assigned this
    on Nov 14, 2025
  3. github-actions commented on Nov 14, 2025

    @github-actions

    Hi @ajay-dhangar! Thanks for opening this issue. We appreciate your contribution to this open-source project. Your input is valuable and we aim to respond or assign your issue as soon as possible. Thanks again!

  4. github-actions commented on Nov 14, 2025

    @github-actions

    👋 Thanks for adding the documentation label!

    This issue is now marked as needing content updates for the CodeHarborHub site. Please ensure the description contains all necessary technical details.

  5. modified the milestone: CSS Docs on Nov 14, 2025
  6. linked a pull request that will close this issueDoce CSS Basics #83on Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions