CSS or “Cascading Style Sheets” is used to manipulate HTML from it’s default styling.
- Example:
`Selector {
property: value;
}`
<link> the two files by adding <link rel="stylesheet" href="style.css"> in the <head> section below the <title> element in the HTML file.
options are a path, id, and class
<nav> <ul> <li>img id="hero img"#hero-img.class-name {
property: value;
}header {
bakground-color: red;
font-size: 6em;
}style="bakground-color: red; font-size: 6em;" as an attribute to the appropriate element in the HTML. In this case, it would be inserted one space after the “header” in the opening tag.<header style="background-color: red;
font-size: 6em;>Heading Number One Text</header>CSS is a style language used to alter or manipuate the appearance of HTML’s standard structure.
<head> section of the HTML page or pages. The style sheet must be saved in a .css extension and is housed in the working repository with the HTML file.p {
color: red;
}