Computer Science, asked by dasanish6339, 5 months ago

. Explain the three ways of linking a CSS document with a HTML document. Give examples.

Answers

Answered by anvesha2010
2

Answer:

I hope it will help you

Explanation:

CSS can either be attached as a separate document or embedded in the HTML document itself. There are three methods of including CSS in an HTML document:

Inline styles — Using the style attribute in the HTML start tag.

Embedded styles — Using the <style> element in the head section of a document.

External style sheets — Using the <link> element, pointing to an external CSS file.

In this tutorial we will cover all these three methods for inserting CSS one by one.

Similar questions