CSS-
Cascading Style Sheets, known as CSS, is a simple design language designed to simplify the process of submitting web pages.CSS looks at and looks at the portion of a web page. Using CSS, how do you use text color, the style of fonts, the distance between paragraphs, the size and maintenance of the columns, the use of background images or colors, layout design, display of various devices and screen sizes Variations can be controlled as well as many other effects.
CSS is easy to learn and understand but it provides powerful control over the presentation of an HTML document. Typically, CSS is combined with markup language HTML or XHTML..
CSS |
Advantages of CSS
1. CSS saves time - you can write CSS once and you can reuse the same sheet in multiple HTML pages. You can define the style for each HTML element and apply it to as many web pages as you want.
2. Pages load faster - if you are using CSS, you do not need to write HTML tag attributes every time. Simply write a CSS rule of one tag and apply it to all events of that tag. So low code means fast download time.
3. Easy maintenance - To make global changes, just change the style, and all elements of all web pages will be automatically updated.
4. Superior styles for HTML - CSS has a wide range of features compared to HTML so you can look much better on your HTML page than HTML attributes.
Disadvantages of CSS
1. The style information is not the distance from the content (the main goal of SGML / HTML). Styles cannot be controlled together for many documents. The document can not create or control sections of elements to control many element types within the document. Selector grouping methods can not be used to create complex element addressing scenarios
2. This method can not control styles for multiple documents at once Inline Styles
thanks.
ReplyDelete