HTML CSS

CSS COLOURS

Colours can be applied in our HTML document by adding a style attribute to an element,giving it a style property and a value.

Background Colour

Background-color defines how the background color of an HTML element will apear.

  •       
                        <!DOCTYPE html>	 
    <html>
    <head>
        <title>background-color</title>
    </head>
        
    </html>
    

    Text color

    Text color affects the color appearance of an HTML element.

  •       
                        <!DOCTYPE html>	 
    <html>
    <head>
    </head>
    
    </body>
    </html>
    

    HTML FONTS

    HTML Font are classified into 2:font-family and font size

  •       
                        <!DOCTYPE html>
    <html>
    <head>
    <title>font-family</title>
    </head>
    
    <body>
        
    </body>
    </html>
    
    
  •       
                        <!DOCTYPE html>
    <html>
    <head>
        <title>font-size</title>
    </head>
    <body>
        
    </body>
    </html>
    
    

    HTML BORDERS

    borders defines how an element's border should look like, and you can change the outlook of an HTML element border in 3 ways:

    • border-color
    • border-width
    • border-style
  •       
                        <!DOCTYPE html>
    <html>
    <head>
        <title>borders</title>
    </head>
    <body>
        
    </body>
    </html>
    

    please note that the default font family for a webpage is times new roman, but in this case i am changing it to algerian, so without defining a font family your browser display your HTML elemenys in its default font.

    Dess App

    DessApp is an Integrated E-learning Education, Interactive and User-friendly features, smarter options and redefining your school costs effectively and efficiently.

    View
    1 1