code/html/css/README.md
CSS is used to add styling options to webpages written in normal HTML files. CSS style options are pairs of property:value.
There are three ways to add CSS style options in HTML files.
Writing CSS style options within HTML tag.
<{HTML_element} style="property:value;property:value,...">
Writing entire CSS code in <style> HTML element at the <head> of HTML file.
This method uses Id and Class attributes of HTML to define the style for those HTML elements.
<head>
<style>
HTML-element {property:value;property:value,...}
#idvalue {property:value;property:value,...}
.classname {property:value;property:value,...}
</style>
<head>
Writing CSS code in an external .css file and linking it in the HTML file.
The link is provided in the HTML head tag.
<head>
<link rel="stylesheet" href="{path to external css file}">
</head>