FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
CSS Part 1
How-ToWeb Development

CSS Part 1

via Dev.to TutorialNanthini Ammu3h ago

What is CSS? It is used to style and design webpages. HTML creates the structure(like headings, text, images) css makes it look beautiful(colors,layout,font,spacing). Basic CSS structure consist of selector, Property, and value. Selector - What to style. Property - What to change. Value - How to change. Important Rule : Each property ends with ; Properties are inside { } Selector comes before { } In the below example p → selector color → property red → value Example : <html> <head> <style> /* css styling part */ p { color : blue ; font-size : 20px ; } </style> </head> <body> <p> This is HTML </p> </body> </html> Three main ways to add CSS to a HTML page: Inline CSS. CSS is written inside the HTML Tag. <p style= "color: red; font-size: 20px;" > This is HTML </p> Internal CSS. CSS is written inside <style> tag in <head> . <head> <style> p { color : blue ; font-size : 20px ; } </style> </head> External CSS. CSS is written in a separate file. Step 1 : Create a CSS file p { color : blue ; f

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
0 views

Related Articles

I Quit Coding Tutorials for 30 Days — And Finally Escaped Tutorial Hell
How-To

I Quit Coding Tutorials for 30 Days — And Finally Escaped Tutorial Hell

Medium Programming • 52m ago

Xperience Community: Content Repositories
How-To

Xperience Community: Content Repositories

Dev.to • 1h ago

Build Pipeline Executors Using Generator Functions
How-To

Build Pipeline Executors Using Generator Functions

Medium Programming • 1h ago

Designing Game Economies: Why Spreadsheets Eventually Break
How-To

Designing Game Economies: Why Spreadsheets Eventually Break

Dev.to • 1h ago

How to use Jinja2 Templates
How-To

How to use Jinja2 Templates

Dev.to Tutorial • 1h ago

Discover More Articles