Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 7, Problem 1HOE
Program Plan Intro
- Include the HTML tag using “<html>”.
- Include the header tag using “<head>”.
- Include the style on the webpage using “<style>” tag.
- Set the position property as “fixed”.
- Set the padding property as “10 px”.
- Set the font property as “bold”.
- Set the background property as “#eaeaea”.
- Include the style on the webpage using “<style>” tag.
- Close the header tag using “</style>”.
- Close the header tag using “</head>”.
- Open the body of the web page using “<body>” tag.
- Include the “<div>” tag and add a “class” attributes to assign the style.
- Include the head tag “<h1>” to display page heading.
- Include the content to be displayed in the webpage using paragraph “<p>” tag.
- Close the body using “</div>” tag.
- Include the “<div>” tag and add a “class” attributes to assign the style.
- Close the body using “</body>” tag.
- Include the header tag using “<head>”.
- Close the file using “</html>” tag.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
9.Write the CSS style rule to display an image that is fixed in position and is placed at 125 pixels from the top and 140 pixels from the right of its parent window.
Describe a CSS element that would repeat an image in the background along both the X and Y axis
Describe a CSS element that would repeat an image in the background only along the Y axis
Chapter 7 Solutions
Basics of Web Design: Html5 & Css3
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Create a CSS style sheet including the following steps:arrow_forwardCreate a CSS rule that would make all unordered lists (tags) have circle bullets, green background, and white text color.arrow_forwardwrite a CSS style rule to set up a linear gradient background based on the following requirements: it is for a class named peterthe direction of the linear gradient is to be from right to left and must be represented by degreesthe starting colour must be red and presented in the RGB formatthe ending colour must be blue and presented in hexadecimal formatarrow_forward
- Explain the difference between margin and padding in CSS. Write the CSS code that adds a margin of 5 px and a padding of 10 px in all sides of a paragraph tag in htmlarrow_forwardProvide an example to demonstrate that you have an understanding of how cascading style sheets (CSS) operate.arrow_forwardTell me about the three primary CSS page layouts.arrow_forward
- Write a CSS rule that places a background image halfway down the page, tiling it horizontally. The image should remain in place when the user scrolls up or down.arrow_forwardI need this assignment solved. Below I've attached the index.hmtl and styles.cssarrow_forwardQuestion # 1 a) Use Colspan and Rowspan to create the following table. b) How can you apply translate property in CSS on an image when the user hovers it with the mouse pointer it translates an image? Provide CSS code and screenshot of the output image.arrow_forward
- Write and combine h1, h2, h3 selectors in CSS syntax with font-weight: 500; and color: red; and line-height: 10px;arrow_forwardI believe I am close to having this correct but would like to check. Write the CSS to configure a grid for an id named container that has two columns and two rows. The first row is 100 pixels high. The first grid item in the second row takes up 75% of the width.arrow_forwardCreate a CSS style for an H3 element, where: - colour is blue (in RGB format) - text aligned to left - text decoration red wavy underline - text transformed to uppercasearrow_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