Answers for "css and html website"

CSS
0

CSS IN HTML

<!-- There are 3 ways to do this-->

<!-- #1: Inline CSS-->
<h1 style="color: red;">Red Heading</h1>

<!-- #2 Element CSS-->
<style>
  h1 {
    color: red;
  }
</style>
<h1>Red Heading</h1>

<!-- #3 Stylesheet CSS-->
<link rel="stylesheet" href="[stylesheet link]">
Posted by: Guest on February-02-2021
2

css in html

<!-- EXAMPLE -->
<div class="your_class" style="display:none">

<!--[SYNTAX: style="<CSS-code>"] -->
Posted by: Guest on February-25-2021
-1

use w3 css on your website

To use w3-css on your project just add the following cdn to your HTML head tag
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
from here you'll be able to call any w3-css class and use it in your project.
Posted by: Guest on September-24-2020

Code answers related to "css and html website"

Browse Popular Code Answers by Language