HTML and Css
HTML and Css
2. Internal CSS:
The styles are applied in the html document under the <style>
tag.
<style>
p{
color : blue;
}
</style>
3. External stylesheet:
In external styling, the styles are specified in an external
stylesheet, which is essentially a document with the .css extension.
The stylesheet is then linked to the html page using the <link>
tag.
p{
color : blue;
}
div {
background-color : black;
color : white;
}