Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
9th Edition
ISBN: 9780134801346
Author: FELKE-MORRIS
Publisher: PEARSON
Question
Book Icon
Chapter 6, Problem 3HOE
Program Plan Intro

Program Plan:

  • 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 “absolute”.
        • Set the top property as “20 px”.
        • Set the right property as “40 px”.
        • Set the background property as “#D3D3D3”.
        • Set the border property as “1px solid #80c080”.
    • 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 an “id” attribute 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.
    • 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
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
Create a web page containing two images, where one image overlaps another image by using the z-index CSS property. Output:
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