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
Pllleasassseee ssiiirrrr soolveee thissssss questionnnnnnn
Pllleasassseee ssiiirrrr soolveee thissssss questionnnnnnn
Pllleasassseee ssiiirrrr soolveee thissssss questionnnnnnn
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.
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