Q13. Write the code to create a webpage with background-color 'green' and text color 'red'.( Upload picture/ screenshot of coding done on a notepad and also of output on a web browser) please answer fast
Answers
Explanation:
This is what I want you to get out of this chapter:
Get a feel for how markup works, including an understanding of elements and attributes.
See how browsers interpret HTML documents
Learn the basic structure of an HTML document.
Get a first glimpse of a style sheet in action.
Don’t worry about learning the specific text elements or style sheet rules at this point; we’ll get to those in the following chapters. For now, just pay attention to the process, the overall structure of the document, and the new terminology.
hope it works
<HTML>
<HEAD>
<TITLE>BrightOne </TITLE>
<STYLE TYPE="TEXT/CSS">
BODY{BACKGROUND-IMAGE:URL('ISHITA.JPG');background-repeat:no-repeat;}
BODY{BACKGROUND-COLOR:YELLOW;
BORDER:16px DOTTED PINK;
MARGIN:50PX;}
#A {COLOR:YELLOW;
TEXT-ALGIN:RIGHT;
TEXT-DECORATION:UPNDERLINE;
TEXT-TRANSFORM:UPPERCASE;
TEXT-SHADOW:5px 5px green;
font-size:60px;
font-family:comic sans ms;
BORDER:10px DASHED RED;}
#I {TEXT-ALGIN:CENTRE;
TEXT-DECORATION:UNDERLINE;
TEXT-TRANSFORM:LOWERCASE;
font-size:50px;
font-family:JOKERMAN;
BORDER:7PX SOLID BLACK;}
#C {TEXT-ALGIN:LEFT;
FONT-SIZE:40PX;
FONT-FAMILY:COMIC SANS MS;
COLOR:RED;}
</STYLE>
</HEAD>
<BODY>
<H1 ID="A"> WELCOME TO HER webpage </H1>
<H2 ID="I">...loading...this may take some time</H2>
<H3 ID="C">SHE IS MAKING IT NOW SO DON'T WORRY</H3>
</BODY>