Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to color div html

<style>
    .div-1 {
        background-color: #EBEBEB;
    }
    
    .div-2 {
    	background-color: #ABBAEA;
    }
    
    .div-3 {
    	background-color: #FBD603;
    }
</style>

<body>
    <div class="div-1"> I love HTML </div>
    <div class="div-2"> I love CSS </div>
    <div class="div-3"> I love JavaScript </div>
</body>
Comment

PREVIOUS NEXT
Code Example
Html :: nuxt v if two conditions 
Html :: seo tags in html 
Html :: card button align bottom bootstrap 
Html :: twig format currency 
Html :: safe webp image usage html 
Html :: bootstrap dropdown on hover 
Html :: how to use select2 
Html :: html pass a string to clipboard 
Html :: non dismisal modal bootstrap 
Html :: how to summon an entity with a tag 
Html :: csrf token html form 
Html :: how to make list in html 
Html :: arnav.tcode.in 
Html :: html link tag for other website 
Html :: how to create accordion effect using built-in HTML tags? 
Html :: laravel blade remove html tags 
Html :: ngif async pipe 
Html :: html multiply 
Html :: la balise center en html 
Html :: 0 
Html :: how to add bgcolor in html 
Html :: how to show only play button in html audio controls 
Html :: BORDERS WITH TEXT IN IT 
Html :: html background color 
Html :: oldest person 
Html :: get image from google drive 
Html :: lato google fonts 
Html :: open link as a number 
Html :: fa icon person 
Html :: rowspan 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =