Along with Javascript, HTML, CSS also used by numerous web designers for creating web pages. CSS is designed primarily to authorize the separation of document content from document presentation for colorful formatting options like colors and font styles.
This type of presentation provides further flexibility and enables further HTML lines sharing to a CSS file by. css.
Example of CSS syntax:
{
Color:red;
Font-size:14px;
}
TYPES OF CSS:
Inline
Internal
External
INLINE STYLE SHEET:
The Inline style sheet is used within the HTML code. As the inline style is embedded within the HTML codes there's no selector present in the inline style sheet. This type of style is embedded within the code using the style feature. Inline style sheets aren't as heavy-duty as embedded style sheets.
INTERNAL STYLE SHEET:
Internal style sheet or Embedded style sheet is used within the head section using the style tag. style tag is used to embed the internal styles within the head section.
EXTERNAL STYLE SHEET:
External styles are specified in the external style sheet and linked into the web runners. This is stylish among all the other style sheets. This type of style sheet is a text file that's saved as. css
SIGNIFICANCE OF CSS:
Cascading style sheets are the most important tool that web designers use. There are numerous aspects to learning CSS. There are numerous properties in CSS1 and CSS2. To become a professional web developer it's important to learn Cascading style wastes.
ADVANTAGES OF CSS:
Cascading style sheets helps in simplifying design changes.
Website builds in CSS are accessible to further callers.
Pages load soon.
CSS saves time.
SOME CSS TIPS FOR NEWCOMERS:
Usereset.css
Use shorthand
Power of li
Css debugging tools
Replacing text with image