Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 9, Problem 9RQ
Program Description Answer
Background-color is the CSS property that specifies background color of a table.
Hence, the correct option is “C”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
How to make this more responsive so that when the screen is small picture and texts will be written in the seperate lines (picture - upper side; texts lower side instead of left - picture and right - text as shown in the pictures)
css file:
.image-text-container {
display: flex; /* Arrange elements horizontally */
align-items: center; /* Align content vertically */
margin: 20px; /* Add some margin around the container */
}
html file:
<div class="image-text-container">
<figure>
<imgsrc="washFace.png"alt="Picture of a woman washing his face"class="full-width-image">
</figure>
<article>
<h2>Wash your face with water</h2>
<p>First off, start by splashing your face with water. It's crucial to clear away the dirt and oil that gathers while you sleep. However, cleanser isn’t needed in the morning; lukewarm water works best. <p>
</article>
</div>
Describe what is meant by #AABBCC when declared as a colour value in CSS.
(Note: Marks are not awarded for any conversion.)
The Document Object Model methods cannot be used to affect CSS style properties.
a. T
b. F
Chapter 9 Solutions
Basics of Web Design: Html5 & Css3
Knowledge Booster
Similar questions
- HTML/CSS: Need help in creating a sidebar header canvas for the love and hate buttons. Below are the codes and attached is image of how the sidebar header canvas must look like. Make sure to involve the correct code with the output: index.html: <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href="style.css"> </head> <body> <h1>Summer School</h1> <ulclass="content home"> <li><a href="/index.html" >Summer School Info</a></li> <li><a href="/summerschool.html">Mainpage</a></li> </ul> </body> </html> summerschool.html: <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,…arrow_forwardWrite the CSS for an id with the following attributes: float to the left of the page, light tan background, Verdana or sans-serif large font, and 20 pixels of padding.arrow_forwardIf multiple CSS rules apply to an HTML element, which one takes precedence and is rendered by the browser? a. the one that uses uppercase letters b. the last one that applies c. the one that has a property named "priority" d. the one with a hash mark (#) e. the first one that appliesarrow_forward
- Using Javascript Write a page that displays a balloon (using the balloon emoji, ?). When you press the up arrow, it should inflate (grow) 10 percent, and when you press the down arrow, it should deflate (shrink) 10 percent. You can control the size of text (emoji are text) by setting the font-size CSS property (style.fontSize) on its parent element. Remember to include a unit in the value—for example, pixels (10px). The key names of the arrow keys are "ArrowUp" and "ArrowDown". Make sure the keys change only the balloon, without scrolling the page.arrow_forwardModify the CSS declarations for the span and p rules to meet each requirement below: Padding on the span: 5 pixels left, and 5 pixels right. Border on the span: 2 pixels solid black above (use -top suffix), and 4 pixels solid gray below (use -bottom). Padding on the paragraph: 10 pixels on all sides. Border on the paragraph: 10 pixels, light green, ridge style (use border-style, border-color, and border-width). Margin on the paragraph: 5 pixels on all sides. <p> The typical filler text is the <span>Lorem Ipsum</span>. According to lipsum.com, this text has been standard dummy text since the 1500s.</p>arrow_forwardHTML/CSS: How to store the AEG on the draw canvas and clear it? Make sure to show the full code with the screensot of the output.arrow_forward
- Create a web page that contains three buttons and two images. To meet the requirements follow the instructions given below by writing JavaScript and jquery: • When user clicks the "Hide Images" button, both images should be vanished (jquery). • When user clicks the "Show Images" button, both images should be appeared again (jquery). • When user clicks the swap button, the height of both images should be swapped (JavaScript). Hide Images Show Images Swap Height| Hide Images Show Images Swap Heightarrow_forwardHow would you set the only span element on the page to have a CSS property like tihs: class='bigstuff' document.getElementsByTagName("span").setClassname("bigstuff"); document.getElementsByTagName("span")[0].setAttribute("class", "bigstuff"); document.getElementsByTagName("H1")[0].setAttribute("bigstuff", "class"); document.getElementByTag("span")[0].setAttribute("class", "bigstuff")arrow_forwardCreate a CSS file youName.css and link it to the HTML file you created earlier in Part 1. The results after filling the styles should be as shown in the image below. NOTE 1: Add classes and ids as you find suitable in the HTML file. NOTE 2: Any style that is not specified, may be specified as you wish (like margins, paddings …). NOTE 3: The width of the <body> is 700px and the font-family is “Arial”. after finsih it must be as the imagearrow_forward
- In CSS, a:hover means : Select one: O a. A link when a users mouse cursor is under it O b. A link when a users' mouse cursor is over it O C. A link the user has visited d. A link the moment it is clicked Which is correct for CSS syntaxarrow_forwardHTML In strictly default block vertical coordinates, the reference positions for the next element placement on the page is the location of the element immediately on top and the left-hand screen position. (TRUE OR FALSE)? If an outer div container contains two inner div elements, and an outer height is given by css to the outer container, and the background color of the outer container is blue then there will always be blue colored space left below the two inner divs (TRUE OR FALSE)? Image elements can have borders surrounding them , and maintained inside a containing element. (TRUE OR FALSE)? In table elements, the most specific HTML level is the tr element ( row element)(TRUE OR FALSE)? Text can be centered inside a div element by using the selector command text-align: center or otherwise placing the text inside another div element with the same background color and applying margin-left command( TRUE OR FALSE)? A paragraph, div element, and h element will assume the…arrow_forwardHTML/CSS: How to make a sidebar on the left that has two buttons which are the draw mode and the proof mode? Make sure to use HTML and CSS only and show the screenshots of the full code and output.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning