Basic HTML Reference Page

lalallala~~~~

by cliftonyeo

HTML

<!DOCTYPE html>
<html>
    
    <head>
        <title>Basic HTML Reference Page</title>
        <!-- nothing is rendered here in the
        head -->
    </head>
    
    <body>
        <!-- 2 main types of tags: block level which stacks up on one another,
        and inline which line up from left to right; the body is what's rendered
        -->
         <h1></h1> 
        <p>this is a paragraph</p>
         <h2></h2> 
         <h3></h3> 
         <h4></h4> 
         <h5></h5> 
         <h6></h6> 
        <!-- 6 levels of headers, 1 the biggest, 6 the smallest -->
        <!-- headers and paragraphs are block level elements -->
    </body>

</html>
<!-- can embed this file by clicking share -->

CSS

p {
    color:red;
    padding: 50px;
    background: blue;
}
p:hover {
    color:black;
    font-size:50px;
}