Explain the various ways to apply CSS styles to a Web page?
There are Four methods of adding CSS to HTML.
- Inline: by inserting a style attribute inside an
<head>element. - Embedded/Internal: by putting all
cssinside head using<style>tags - Linked/External: CSS is placed in an external
.cssfile, and linked to the HTML document using a<link>tag. - Imported: Importing a CSS file using
@import
Learn more about the similar topics:
| Tutorials |
|---|
| No Content Found. |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| No Content Found. |