Why should we use CSS?

There are three major benefits with CSS

  1. Solving big problems: Some HTML elements repeatedly occur in HTML. For that if we want to give styles no need to write repeatedly. By selecting that HTML element we can give styles at one place only. It will apply all over the HTML document wherever the selected element is. 
  2. Saves a lot of time: By writing style definitions externally, it will reduce the confusion to screen readers. It is a time saving process.
  3. Provide more attributes: CSS provides more detailed attributes than plain HTML to define the look and feel of the website. CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *