CSS


CSS

This a summary of what I have learned during the class and by reading this tutorial.

 

First, we need to know what is CSS stands for, it’s simply a styling tool, while HTML structure the webpage, CSS presents it with the design.

 

There are 3 types that you can add CSS lines to the HTML file:

  • External CSS
  • Internal CSS
  • Inline CSS

 

  1. The External CSS means that you define a sole file just for the CSS so you can implement its command to the whole page, and you need to connect to the HTML page using:
    • <link rel="stylesheet" href="mystyle.css">

 

  1. The internal CSS means that you can assign a special unique style for one page and type it between the HTML code using <style>

 

  1. The Inline CSS allows you to assign one single element with some special attributes by adding in inside the same tag, for example:
    • < h1 style="color:blue;text-align:center;">This is a heading </h1>

 

Get back to EMAM’S HOMEPAGE

I have created this page as a part of my project using Github, Please visit my profile, I will be more than happy to hear from you all.                       © Emam Shararah 2021