Knowee
Questions
Features
Study Tools

You really want to emphasize a headline on a web page. To do this, you would like to create text with two shadows. You want one shadow to be gray and the other shadow to be black. The gray shadow should have a vertical offset of 3px and a horizontal offset of 2px. The black shadow should have a vertical offset of 4px and a horizontal offset of 3px. The text is the content of a heading 1 element. The text color is blue. You are going to use the embedded style sheet.What should you add to the h1 style rule?1 pointbox-shadow: 2px 4px gray, 3px 3px;box-shadow: 2px 3px gray, 3px 4px;box-shadow: 2px 3px gray, 3px 4px black;box-shadow: 2px 4px gray, 3px 3px black;

Question

You really want to emphasize a headline on a web page. To do this, you would like to create text with two shadows. You want one shadow to be gray and the other shadow to be black. The gray shadow should have a vertical offset of 3px and a horizontal offset of 2px. The black shadow should have a vertical offset of 4px and a horizontal offset of 3px. The text is the content of a heading 1 element. The text color is blue. You are going to use the embedded style sheet.What should you add to the h1 style rule?1 pointbox-shadow: 2px 4px gray, 3px 3px;box-shadow: 2px 3px gray, 3px 4px;box-shadow: 2px 3px gray, 3px 4px black;box-shadow: 2px 4px gray, 3px 3px black;

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

The correct answer is: text-shadow: 2px 3px gray, 3px 4px black;

Similar Questions

You are creating a box shadow for an object on the web page. You would like the shadow offset vertically by 10px. You want it offset horizontally by 5px. The color of the text in the object is black. The color of the shadow should be gray. You need to create a style rule to add the box shadow. Which rule should you create?1 pointbox-shadow: 10px 5px gray;box-shadow: 5px 10px gray;box-shadow: 5px 10px #000000;box-shadow: 5px 10px;

You are creating a headline for a web page advertising a sale. You have the following code in the web page:<h1>Today Only! All items <font class=”slashed”>twenty</font> fifty percent off!</h1>You need to create a style rule that will run a horizontal line through the center of the word twenty so it looks like this: twentyWhat style rule should you create?1 pointh1.slashed { text-decoration: line-through; }h1.slashed { text-decoration: strike-through; }h1.slashed { text-transform: strike-through; }h1.slashed { text-indent: top; }

1. Set the width of the <div> element to "200px". Add a 2px solid red border to the <div> element. Add 25 pixels space between the <div> element's border and its content. Add a 25 pixels space outside, to the left of the <div> element.<body>  <h1 class="myheader">This is a heading</h1>  <p>This is a paragraph</p>  <p>This is a paragraph</p></body>2. Based on the code above. Position the <h1> element to always be 50px from the top, and 10px from the right, relative to the window/frame edges. 3. Based on the code above. Position the <h1> element 50px from the top, relative to its normal position. 4. Based on the code above. Position the <h1> element 50px from the top, relative to the HTML page.5. Based on the code above. Position the <h1> element 50px from the top, by referring to its class name.6. Build a basic horizontal navigation bar using an unordered list (<ul>) and list items (<li>). Style the list items to be displayed as inline-block elements, creating a simple navigation menu.7. Design a styled button using a regular anchor (<a>) element. Adjust the display property to make it a block-level element and apply CSS styles to make it visually appealing. Add hover effects and transitions for a polished look.8. Create an HTML document with a mix of inline (e.g., <span>) and block-level (e.g., <div>) elements. Apply CSS to adjust the display property of these elements to change their behavior. For instance, make a block-level element behave like an inline element, and vice versa.

Which heading style consider as a base text in HTML?Answer areaH1H6H4H2

We want to apply different styles to the 3 different <h1>'s on this page. What selectors should we use?CHOOSE ALL OF THE ANSWERS THAT WILL WORK.<body>    <header>        <h1>I am a heading</h1>    </header>    <h1>I am a heading too</h1>    <main>        <section>            <h1>A third heading on the same page</h1>        </section>    </main></body>  body>h1 { ... }header>h1  { ... }section>h1  { ... }  header h1  { ... }header+h1  { ... }main h1  { ... }  body h1   { ... }header>h1   { ... }section>h1  { ... }  body+h1  { ... }header>h1   { ... }section>h1  { ... }  body h1   { ... }header>h1   { ... }main>h1  { ... }

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.