is css still used code example
Example 1: how to use css
<link rel="stylesheet" href="stylesheet.css">
<div class="mydiv"></div>
<style>
.mydiv {
background-color: ;
color: ;
}
</style>
Example 2: WHAT IS CSS
Q: What is CSS?
A: CSS stands for Cascading Style Sheets. It is the most common way to
style an HTML element.
CSS Defines how an HTML element will appear on your web browser, such as making
your text green, or a shadow effect behind your button!
There are three ways to add CSS to your code:
-Inline CSS is directly written into the element you would like styled.
-Scripted CSS is also written in HTML, but using the <style> tag.
-Stylesheet / External CSS is on its own document and does not require any
HTML inside it. To bind it to your webpage, use the <link> element.