Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 3, Problem 5MC
Program Description Answer
The font-family is the declaration property that is used to set the font typeface for an area of web page.
Hence, the correct answer is option “C”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Which of the following is the correct syntax in CSS for adding a background color in HTML?
a.
<body background="yellow">
b.
<body style="background-color:yellow">
c.
<background color="yellow">text<background>
d.
<background>yellow</background>
Q7. By using the program below: Kindly Set the font family for the page to "Courier New", and the font family for <h1> to "Verdana".
<!DOCTYPE html>
<html>
<head>
<style>
</style>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
Q5. By using the program below: Kindly Set the background color for the page to "linen" and the background color for <h1> to "lightblue".
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
Chapter 3 Solutions
Web Development and Design Foundations with HTML5 (8th Edition)
Ch. 3.4 - Prob. 1CPCh. 3.4 - Prob. 2CPCh. 3.4 - Prob. 3CPCh. 3.8 - Prob. 1CPCh. 3.8 - Prob. 2CPCh. 3.8 - Prob. 3CPCh. 3 - Prob. 1MCCh. 3 - Prob. 2MCCh. 3 - Prob. 3MCCh. 3 - Prob. 4MC
Ch. 3 - Prob. 5MCCh. 3 - Prob. 6MCCh. 3 - Prob. 7MCCh. 3 - Prob. 8MCCh. 3 - Prob. 9MCCh. 3 - Prob. 10MCCh. 3 - Prob. 11MCCh. 3 - Prob. 12FIBCh. 3 - Prob. 13FIBCh. 3 - Prob. 14FIBCh. 3 - Prob. 15FIBCh. 3 - Prob. 1AYKCh. 3 - Prob. 2AYKCh. 3 - Prob. 3AYKCh. 3 - Prob. 1HOECh. 3 - Prob. 2HOECh. 3 - Prob. 3HOECh. 3 - Prob. 4HOECh. 3 - Prob. 5HOECh. 3 - Prob. 6HOECh. 3 - Prob. 7HOECh. 3 - Prob. 8HOECh. 3 - Prob. 9HOECh. 3 - Prob. 1WRCh. 3 - Prob. 2WRCh. 3 - Prob. 1FWD
Knowledge Booster
Similar questions
- Jack wants to create a website that loads differently on different browsers as well as different versions of each browser. Which of the following would be the best practice? A) Use Conditional Comments B) Use Stylesheet for detecting and loading different CSS files C) Use Javascript to detect and load a different CSS file D) It is not possible to detect a browser and/or its versionarrow_forwardWhich HTML tag would configure a scrolling textbox with the name “comments”, 2 rows, and 30characters?a. <textarea name="comments" width="30"rows="2"></textarea>b. <input type="textarea" size="30"name="comments" rows="2">c. <textarea name="comments" rows="2"cols="30"></textarea>d. <input type="comments" rows="2"name="comments" cols="30">arrow_forwardWhich JavaScript expression references the first element in an HTML document that belongs to the “sideBar” class? a. document.getElementByClassName("sideBar")[0] b. document.getElementsByClassName("sideBar")[1] c. document.getElementByName("sideBar") d. document.getElementsByClassName("sideBar")[0]arrow_forward
- In CSS3 which of the following selector is used to select and style when you place mouse over it? a. focus b. hover c. mouse d. all of the mentionedarrow_forwardUsing a computer with text editing programs (Notepad, MS Word, etc.), create an HTML document file and write the following code: <HTML> <HEAD> <SCRIPT SRC="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"> </SCRIPT> <SCRIPT> WRITE YOUR JQUERY CODE HERE!!! </SCRIPT> <STYLE> .yellowDiv{ background-color:yellow; margin: 10px 0 0 0; height:50px; } .impPrg{ font-size:16px; font-weight:bold; } </STYLE> </HEAD> <BODY> <H1>Demo: jQuery addClass() method</H1> <BUTTON ID="btnAddDivClass">Add <DIV> class</BUTTON> <BUTTON ID="btnAddPClass">Add <P> class</BUTTON> <DIV ID="myDiv"> <P>This is first paragraph.</P> </DIV> <DIV> <p>This is second paragraph.</P> </DIV> <DIV> <P>This is third paragraph.</P>…arrow_forwardWrite a Web page, displaying the following text with styles as close to the example as possible, change my hobbbies to your hobbies. Resize all elements, choose a new font sizes by yourself. Provide your source code in full in a readable format.arrow_forward
- 7- Which of the following shows correct way to set a text responsive? a. p {font-size: 100%;} b. p {font-size:20 px; responsive;} c. p {font-size: 20 vw;} d. p {font-size: auto;}arrow_forwardCreate a web page with three paragraphs and three buttons. Write code for these buttons by following the instructions given below: When button1 will be clicked, color of first paragraphs should be blue. When button2 will be clicked, color of first two paragraphs should be red. When button3 will be clicked, color of all paragraphs should be green.arrow_forwardWhen your main page loads, prompt the user for their name and store it in a variable. Then create an alert that welcomes the user to the page using the name they entered. (HINT: the instructions indicate the event handler to use!) On each of your pages, use javascript to display automatically the day/time the page was last updated. (HINT: This is a property of the document!) On at least two of your images on your image page, add a script that displays an alert when the user clicks one of the images. The alert should give a short description or additional information about the image. Add a countdown to something relevant to the company (holiday, event, specials/sales, etc.) and display the output in your HTML. This should update automatically subtracting the date of the event and the current date. The output will look something like "There are ### days until the sale!" where ### is automatically filled in with the number of days calculated using the javascript. This should not be a…arrow_forward
- This is my footer code for an HTML 5 page (part of my assignment), but the footer doesn't show up. It just displays the text. Not sure what the issue is. body > footer address { background-color: rgb(222,128,60); color: white; color: rgba(255, 255, 255, 0.7); font: normal small-caps bold 0.9em/3em Quicksand, Verdana, Geneva, sans-serif; text-align: center;}arrow_forwardUse the given code snippet to answer the following question. <style> .one.two { Color : blue; } </style> Which HTML block should be used to display the text in red? <div id “one”> <div class = ‘two”> This should be red</div> </div> <div class =”one two”> This should be red</div> <div class =”one” id= “two”> This should be red</div> <div class =”one”> <div class=”two”> This should be red</div> </div>arrow_forwardIn CSS3 which of the following method increases or decreases the size of an element using tranform?a. rotate()b. scale()c. translate()d. matrix()arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning