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 7, Problem 4HOE
Program Plan Intro

Program Plan:

  • Include the HTML tag using “<HTML>”.
    • Include the header tag using “<head>”.
      • Include the title on the webpage using “<title>” tag.
    • Include the viewport meta tag.
    • Close the header tag.
    •  “media” is the attribute that is used to indicate whether the style sheet is for printing or screen display.
      • The query media only screen is used to hide style sheets from older user agents.
      • The Navigation element selector is configured and width is set to auto.
    • Include a paragraph using the “<p>” tag.
      • The browser window is resized. When the width of this document is larger than the height, the background colour is “lightblue”, otherwise it is “lightgreen”.
    • Close the body using “</body>” tag.
  • Close the file using “</html>” tag.

Blurred answer
Students have asked these similar questions
Write the @media rule to target a typical smartphone device and configure the nav element selector with width set to auto.
Revise the following img element to attach it to the mapsites image map: <img src=”logo.png” alt=”” />
Knowledge Booster
Background pattern image
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
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage