Computer Science, asked by samalkha559, 3 months ago

why do we use CSS? what are it's basic advantages?​

Answers

Answered by keshav2150
4

CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, etc. CSS saves time − You can write CSS once and then reuse the same sheet in multiple HTML pages.

Answered by sunirmalbehera088
3

Explanation:

CSS (Cascading Style Sheets) is a web design tool used to control the layout of a webpage while HTML deals with the actual content. There are different versions of CSS including the kind that is found in the actual HTML code itself, but that defeats the purpose of using CSS in the first place. For better performance and easier maintenance, a separate CSS file is preferred over embedded CSS. If font, text size, or changes in the appearance of any element are to be made later, simply accessing a separate CSS file is much easier than having to go through extensive lines of code in an HTML file.CSS has gone through several changes over the years, and the latest version is CSS3. Most web browsers likely support the CSS3 standard. With this latest version, CSS designers have more tools at their disposal. The advantages of using a separate CSS file rather than embedding the CSS code inside the HTML file include:

i) The layout of a web page is better controlled

ii) Style (CSS) kept separate from structure (HTML), means smaller file size

iii) Reduced file size means reduced bandwidth, which means faster loading time

There are far too many tools that are useful for CSS designers to list here, but I’ll describe a few along with best practices and some things to avoid as well.

Similar questions