What is CSS - logaegae/project_study GitHub Wiki

CSS?

  • CSS stands for Cascading Style Sheets

  • Styling can be added to HTML elements in 3 ways:

1. Inline CSS   - using a style attribute in HTML elements

    ex> <div style="border:1px red solid; width:100px; htight:100px;"> text </div>

2. Internal CSS - using a `<style>` element in the HTML `<head>` section 

    ex> <head>
        .green {background-color:green;}
        </head>
        <body>
        <p class="green"> text </p>
        </body>

3. External CSS - using one or more external CSS files

    ex> <link rel="stylesheet" href="external.css">
        rel="불러올 언어"
⚠️ **GitHub.com Fallback** ⚠️