id=""
target="_blank"
<ul>
<li> </li>
<li> </li>
<label for="indoor">
<label for="indoor">
<br>
<div> </div>
<!DOCTYPE html>
<html>
</html>
CSS
other way: <style> h2 {color: blue;} </style> at the top of your code
class css: <style> .blue-text {color: blue;} </style> ------- then inline: class="blue-text" (add more
class: class="class1 class2")
font-size: 30px;
font-family: sans-serif (family name - case-sensitive, use quotes for two or more words in the
name), generic name (degrade - font in case other font is not available);
https://fonts.google.com/
width: 50px
background-color: silver
id -------> use # in style
padding: space between the element's content and its border (padding/padding-top-right-
bottom-left)
margin: space between an element's border and surrounding elements (has negative margin)
(margin/margin-top left bottom right)
Instead of top right bot left: padding: 10px 20p 10px 20px (clockwise)
style body element just like any other HTML element (class will be prioritized < the later class in
<style> is prioritized too - means that browsers read CSS from top to bottom < id attribute will
always take precedence < inline styles < color: red !important;)
background: red;
background: var(--red-color); --------------- add another background before in case variable is not
supported - to improve compatibility
:root -------- set the value of variable for the whole page