HOW TO SOLVE A HTML PROBLEM????

  TUTORIAL NO:-5                                                                       BY SHEELAJ BABU
                                                                                                         B.TECH(IIIT BGP)..
                                                                                                        BRANCH:-CSE (2018-22)
                                           
    "HTML" colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values.

 PROBLEM FOR CREATE A "HTML" CODE FOR IT WORKSHOP::>>


Color Names

In HTML, a color can be specified by using a color name:
Tomato
Orange
DodgerBlue
MediumSeaGreen
Gray
SlateBlue
Violet
LightGray






















BACKFROUND COLOUR:-

You can set the background color for HTML elements:
Hello World


Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

JUST SOLVE BY A EX.

<h1 style="background-color:DodgerBlue;">Hello World</h1>
<p style="background-color:Tomato;">Lorem ipsum...</p>

OTHER EXAMPLE:-

<h1 style="border:2px solid Tomato;">Hello World</h1>
<h1 style="border:2px solid DodgerBlue;">Hello World</h1>
<h1 style="border:2px solid Violet;">Hello World</h1>

Comments

Popular Posts