6/22/22

Types of CSS

 They are three main types of CSS are:


  • Inline CSS: This is when the CSS is placed within the html code using a style attribute.


  • Internal or Embedded CSS: This type of CSS is placed within a  <style>  tag which is placed within the  <head>  tag.


  • External CSS: A new CSS file is created and linked within the head tag using a  <link>  tag

HTML File


CSS File


Blog Archive