Use Facebook or Google
Or
CSS is stands for Cascading Style Sheets use to design web page.
This is the CSS code basic format:
h1 {color : white;background : black; }
<
h1 style ="color: white; background: black;" >Header 1</h1 >
<
style >h1 {color : white;background : black; } </style >
<
link rel ="stylesheet" type ="text/css" href ="/style.css" />
You can use CSS by class name or id name of a HTML tag.
.header1 {color : white;background : black; }#header2 {color : white;background : black; }
Your html document must be like this:
<
h1 class ="header1" >Header 1</h1 > <h2 id ="header2" >Header 2</h2 >
In this code, I use external CSS. To know HTML.
website.htmlstyle.css<!DOCTYPE html> <
html lang ="en" > <head > <meta charset ="utf-8" /> <meta http-equiv ="X-UA-Compatible" content ="IE=edge" /> <meta name ="viewport" content ="width=device-width, initial-scale=1, shrink-to-fit=no" /> <link rel ="shortcut icon" href ="/path/to/logo.ico" /> <title >My Website Title</title > <link rel ="stylesheet" type ="text/css" href ="/style.css" /> </head > <body > <h1 >Header 1</h1 > </body > </html >
h1 {color : white;background : black; }
My Website Title
Header 1