Basics of Web Design: HTML5 & CSS3 (3rd Edition)
Basics of Web Design: HTML5 & CSS3 (3rd Edition)
3rd Edition
ISBN: 9780133970746
Author: Terry Felke-Morris, Terry Morris
Publisher: PEARSON
Question
Book Icon
Chapter 7, Problem 2HOE
Program Plan Intro

Program Plan:

  • Include the HTML tag “<html>”.
    • Include the header tag “<head>”.
      • Include the style on the webpage “<style>” tag.
        • Set the float property as “left”.
        • Set the background property as “#ffffcc”.
        • Set the font property as “verdana, sans-serif”.
        • Set the padding property as “20 px”.
    • 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>”t ag and add an “id” attribute to assign the style.
        • Include the content to be displayed in the webpage using paragraph “<p>” tag.
        • Include the “<img>” tag and add the image source along with its properties.
      • Close the body using “</div>” tag.
    • Close the body using “</body>” tag.
  • Close the file using “</html>” tag.

Blurred answer
Students have asked these similar questions
Describe a CSS element that would repeat an image in the background only along the Y axis
Describe a CSS element that would repeat an image in the background along both the X and Y axis
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 html
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning