Question

In: Computer Science

apply following to body of the page in css format 1. background color of rgb(145,215,170) 2....

apply following to body of the page in css format

1. background color of rgb(145,215,170)


2. width to 65% of the page

3. center the body using the margin property

4. assign a font family of Georgia, Times, serif

Solutions

Expert Solution

NOTE:

1. To center the body use, margin : auto

2. Here I set the background of html to white to clearly differentiate the background color of the body.

HTML CODE:

<html>
<head>
<title>
Optional Title Section
</title>
</head>
<style type="text/css">
html
{
background-color:white;
}
body
{
background-color: rgb(145,215,170);
width:65%;
margin : auto;
font-family : Georgia,Times,serif;
}
</style>
<body>
This is the body of the page
</body>
</html>

Screenshot:


Related Solutions

Apply following to header and footer sections of page in css center text background color rgb(254,198,179)...
Apply following to header and footer sections of page in css center text background color rgb(254,198,179) padding should be 20px
Apply following to header and footer sections of page: center text background color rgb(254,198,179) padding should...
Apply following to header and footer sections of page: center text background color rgb(254,198,179) padding should be 20px
We went over the format and syntax of CSS. Below, write the correct CSS syntax to make the body of an HTML document the color blue.
We went over the format and syntax of CSS. Below, write the correct CSS syntax to make the body of an HTML document the color blue. Also write what each keyword represents (example: the selector? property? etc.)
Given the html below, create css to produce the following illustrated color page output: Red for...
Given the html below, create css to produce the following illustrated color page output: Red for outer paragraph and outer list Green and italic for first inner div paragraph, green for second div paragraph, blue for inner list HTML File <html> <head>       <link rel="stylesheet" type="text/css" href="mystyle98_d.css"> </head> <body>              <p>     I'm a paragraph, what color am I ?      </p>    <ul>      <li id = "fix"> I'm a list item;what color am I? </li>        </ul> <div class = "central1"> <p class ="above">   I'm...
Use CSS to format the appearance of a web page containing several literary quotes marked as...
Use CSS to format the appearance of a web page containing several literary quotes marked as blockquote elements. Figure 2–54 shows a preview of the formatted page. Figure 2-54 Do the following: 1.Open the files code2-1.html and code2-1.css and in the comment section enter your name (First + Last) and the date (MM/DD/YYYY) into the Author: and Date: fields of each file. 2. Go to the code2-1.html file and within the head section insert a link element linking the page...
Create 1 HTML page and 1 CSS file for all the styles. Your html page will...
Create 1 HTML page and 1 CSS file for all the styles. Your html page will be a small gallery of images using the Polaroid style. The page should have at least 1 row of 3 images. You can choose any theme of images. Don't pick random images, make them all have a theme. Add an h1 tag for the header of your page. Style the h1 tag with a color, size, and font family. Include a paragraph tag under...
Build a web page using an external CSS file based on the following specifications : a)...
Build a web page using an external CSS file based on the following specifications : a) The page must have a breaking point at 768px (desktop/mobile). b) The three sections contents (header, main and footer) must be full-width and no larger than 960px (horizontally centered block). Ma c) Header must be 80px high, full width and fixed and will show your name on the left /5 side. The burger icon should appear when the browser’s window is 768px or lower....
Create a Home Page using HTML and CSS Part 1 • Contain an image or logo...
Create a Home Page using HTML and CSS Part 1 • Contain an image or logo about your website. • Must contain three navigation links. Home link. Registration link. Animations link. • Footer will contain links to web pages to any other site you wish (just be outside your webpage, like YouTube,etc.) Open links in new tab, not current tab. Create a Registration page: • Registration Fields: 1) User Name - Input Text 2) Password - Input Password 3) Repeat...
Provide your answers to the following questions in a 2-page paper. Use APA Editorial Format for...
Provide your answers to the following questions in a 2-page paper. Use APA Editorial Format for all citations and references used. What should the "culture and environment of safety" look like when preparing and administering medications? Discuss a common breach of mediation administration. Identify three (3) factors that lead to errors in documentation related to medication administration. What can I do to prevent medication errors?
Develop a personal web page for yourself using HTML, CSS, and Javascript Use the following HTML...
Develop a personal web page for yourself using HTML, CSS, and Javascript Use the following HTML tags to design your webpage: <h1>...</h1>,<h3>...</h3>, <h6>...</h6>, <p>...</p>, <b>...</b>, <i>...</i>, <a>...</a>, <img...>, <table>... </table>, <div>...</div>, <form>...</form>, <input type="text">, and <input type= "submit"> Use an external css to change the default style of your webpage. You must use at least one element selector, one id selector, and one class selector Using text input and submit button, allow the user to change the background color of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT