Architect theme

Architect is a theme for GitHub Pages.

View project on GitHub

Basic Styling Using CSS

1. Inline CSS:

  • Styling applied directly inside an HTML tag using the style attribute
  • Example:

    <p style="color: blue; font-size: 18px;">This is a styled paragraph.</p>
    

2. Internal CSS:

  • CSS written inside a <style> tag within the <head> section of the HTML document
  • Used to style the whole page in one place
  • Example:

    <head>
      <style>
        body {
          background-color: #f0f0f0;
          font-family: Arial, sans-serif;
        }
        h1 {
          color: darkgreen;
        }
      </style>
    </head>