Table of Contents
Deprecated tags and attributes
Home Web Front-end HTML Tutorial About HTML styles-CSS detailed introduction

About HTML styles-CSS detailed introduction

Mar 22, 2017 pm 02:12 PM
html style

How to use CSS

CSS was started in HTML 4 and was introduced for better rendering of HTML elements.

CSS can be added to HTML in the following ways:

  • Inline styles - use the "style" attribute


  • # in an HTML element
  • ## Internal style sheet - use the


    External style sheet

    External style sheets are ideal when styles need to be applied to many pages. Using external style sheets, you can change the look of your entire site by changing one file.



    HTML style tag

    Label describe