CSS (Cascading Style Sheet)
CSS is a designing language which provides additional functions for the HTML tag. It is used with HTML tags inside or outside the tag body. It provides different formatting and designing options for different components or whole webpage. There are 3 methods of writing CSS codes. They are:
- Inline Style Sheet
- Internal Style Sheet
- External Style Sheet
Inline Style Sheet
The CSS codes which is written inside the tag body is called inline style sheet. It is used for particular HTML tags in the HTML page.
Internal Style Sheet
It is the CSS code written inside <head> tag using <style> tag. It is defined for specific HTML tag to use anywhere in the webpage. It doesn’t need to write or call in the HTML tag.
<p>MeroPaper is an educational portal.</p>
External Style Sheet
It is the CSS code written in a text file with extension .css. It can be used in any webpage of the website. It can contain the definition of many tags. It is linked with HTML page to use its functions.
<link rel=”stylesheet” type=”text/css” href=”style.css”>
This question isn’t important for examination but it can help the students know the basics of web designing.