Web Development and Design Foundations with HTML5 (8th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 14, Problem 2HOE

a)

Program Plan Intro

Program Plan:

  • Include the basic tags for the html web page.
    • Include the script tag using “<script>” and access the jQuery using the link “https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”.
      • Inside the script define the “ready()” function to manipulate selector statement.
      • To select all anchor tags in the main element use “$(‘main a’)” and mention the method for the query.
    • Close the script tag using “</script>”.
      • Open the body tag using “<body>”.
      • Include the necessary anchor tags and button tag inside the main tag “<main>”.
    • Close the body tag using “</body>”.
  • Close the file using “</html>” tag.

b)

Program Plan Intro

Program Plan:

  • Include the basic tags for the html web page.
    • Include the script tag using “<script>” and access the jQuery using the link “https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”.
      • Inside the script define the “ready()” function to manipulate selector statement.
      • To select first division tag in HTML document, use the selector   “$(‘div:first’)” statement.
    • Close the script tag using “</script>”.
      • Open the body tag using “<body>”.
      • Include the necessary division tags and button tag.
    • Close the body tag using “</body>”.
  • Close the file using “</html>” tag.

Blurred answer
Students have asked these similar questions
so which option is correct from this There should not be a >bracket at the end. The language attribute name in the <html> tag should not be lang. There should not be a <body> tag There should be quote marks around the content ID in the second <div> tag.
Write HTML5 code that will create the following linked pages. You can use the interface code from the previous exercise.
What is the correct DOM method to update the src attribute value of the HTML img element. Please select one of the following: setAttribute() textContent src() getAttribute()
Knowledge Booster
Background pattern image
Computer Science
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.
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
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning