Basics of Web Design: HTML5 & CSS3 (3rd Edition)
3rd Edition
ISBN: 9780133970746
Author: Terry Felke-Morris, Terry Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 2, Problem 7RQ
Program Description Answer
“em” element is used for configuring the text that has to be emphasized and displayed in an italic font style.
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
Write an HTML file that creates the following web page.
Body:
font-family should be Arial
First h1:
font-family should be Times
color should be blueviolet
text-transform should be upperletter
text-align should be center
Second h1:
font-family should be sans-serif
font-size should be 2em
color should be brown
text-decoration should be overline
In the first paragraph:
The “ Web Design” must have a font-size of 2em and it should be strong
In the second paragraph:
The “development software.” must have letter spaces like 0.5em and it should be strong
The following style is being used in an HTML document. Which letter will have only a line through it but not be underlined when the style is applied to the HTML below?: *
A) A
B) B
C) C
D) D
How to create a left side nav with an article below using HTML/CSS.
Chapter 2 Solutions
Basics of Web Design: HTML5 & CSS3 (3rd Edition)
Knowledge Booster
Similar questions
- When you have written enhanced email links what testing should you do? How can you avoid having a link to a new window open in a hidden window? Provide two techniques For the following line of HTML what is the significance of each of the different font-family values?<p style = “font-family: Verdana, Palantino, Courier, serif”> Write the HTML code that will produce the following: Describe two techniques to reduce the size of images in your web site. Why should you add height and width attributes to the img tag?arrow_forwardInstruction : Please add some css on the alert boxes. Change the color. Thank you! The HTML code with javascript is already provided. You just need to customize the alert prompt. Thanks! CODE: <!DOCTYPE html> <html lang="en"> <head> <title>Applying Javascript in HTML</title> <script> function userPrompt() { var lastName = prompt("Enter your Last name:"); var firstName = prompt("Enter your First name:"); alert("Hello " + lastName + ", " + firstName + "!"); const number1 = parseInt(prompt("Enter your 1st number:")); const number2 = parseInt(prompt("Enter your 2nd number:")); const sum = number1 + number2; alert("The sum is: " + sum); confirm(lastName + ", " + firstName + " you have added the numbers: " + number1 + " & " + number2 + " and got the sum: " + sum + "."); } </script> </head> <body onload='userPrompt()'>…arrow_forwardIn html and CSS Create a mouseOver event function, that will change the colour of an HTML item (ie. a button or a list item) to green, then to black after 5 secondsarrow_forward
- Using CSS, how would you center the text in a header of an HTML table? A) Use the align property. B) Use the text-align property. C) Use the justify property. D) Add until the text is centered.arrow_forwardUsing HTML and CSS and Javascript. Include a new page named “funpage.html” about coffee shop website, which allows the users to interact with your page and have fun with it when accessing your website (e.g., play a game such as re-assembling a cut-photo; or do simple drawings; or gathering words to make English sentences from given a set of words); be creative. The page should have the following minimum requirements: a) Use of dynamic Html concepts. b) Add full comments to your JavaScript code explaining how does it work. c) The page should be well-designed, nice-looking, have look-n-feel concepts. The game should be related to the objective of the website.arrow_forwardYou are required to design HTML page based on the following descriptions: Create tag to display the web page title called “IT Blog”. Change the background color of the web page to be light blue, the code of that color is “#E0F8F8”. Adjust the margins of the web page according to the given information: Left margin= 60 Margin Height= 50 Bottom margin= 40 Add heading to the web page with the following specification: Heading= “ TechTarget” Size= “1” Color=”# 074244” Font type= “Cooper Black” Add horizontal line. The size of the line is “10” the width is “75%” change the color to be “#586061” Add an introduction paragraph after the horizontal line. The size should be “3”. “TechTarget provides IT Pros with insight on the latest and most important issues in information technology through various IT blogs.” Add a sentence “Related Question:” as a sub-heading. Select “#732319” to be the font color of this sentence Size= 5…arrow_forward
- You are required to design HTML page based on the following descriptions: Insert Heading in the top of your web page with the following requirement Heading: “SWEET SHOP” Size of the heading = “1” Font style= “Online book shops” Insert an image after the heading, and follow the given requirements: NOTE: You can access to the Internet and find image related to the topic. Change the Width of the image to be = “600” and the Height to be = “400” Add an alternative text that identifies the image in your web page. The alternative text should be: “Candy Shop” Add label to the image. “SWEET SHOP, 2015” Change the alignment of the image to be on the “Center” Set border to the image, the thickness of the border should be “20” Add background to you web page. The background should be image. NOTE: You can access to the internet and find an image related to the topic and fit purpose. Insert 3 links base on the following requirements: First: Add…arrow_forward18.Code HTML and CSS for the following: Place three images inside the display area of your web page. The dimensions of the images areimgA: height = 20%; width = 100pximgB: height = 150px; width = 250remimgC: height = 180vmin; width = 50% Display imgA and have it positioned 100px from the left of its container and 100vmax from the top.Display imgB and have it positioned 120px from the left of its container and 120em from the bottom.Display imgC and have it positioned 200px from the top of its container and centered horizontally. The order of HTML code for displaying the three images are to be imaA code, then imaB code, and finally imaC code. Make sure imgA is displayed on top of imgC and imgC is on top of imgB. Code all mandatory attributes. Given a choice, always use a property instead of an attribute.arrow_forwardFind a tutorial or on resource for applying CSS styles to an HTML page. What specific CSS techniques would you recommend?arrow_forward
- Write a code to create a HTML page that allows the user to select any one from list of 5 countries. Use image hotspot to display the capital of selected country. Also add CSS animation to customize the properties of the font of the capital and background color of page.arrow_forwardPlease use html and css: one of the links in your menu will take to another .html page where you will have some images in it. You will have one big image frame, and some small images placed underneath the big frame. Every half second, the image on the big frame will change based on the small images you list down belowarrow_forwardWhen a CSS stylesheet is used and class="btn-group" is found in HTML, what CSS selector would style that HTML? A) btn-group B) #btn-group C) .btn-group D) :btn-grouparrow_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